[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Regex for QNames

From: Florent Georges <darkman_spam@yahoo.fr>
Date: Fri, 9 Feb 2007 14:10:45 +0100 (CET)
To: Michael Kay <mike@saxonica.com>, xmlschema-dev@w3.org
Message-ID: <261668.33411.qm@web23002.mail.ird.yahoo.com>
Re: Regex for QNames

Michael Kay wrote:

  Hi

> >     [\i-:][\c-:]*:[\i-:][\c-:]*

> I think you're trying to use "-" here for subtraction. For
> that you need the second operand to be in square brackets:

> [\i-[:]][\c-[:]]*

  Yes.  I didn't know this (convenient) feature, and I
missed the fact that after the '-' it is itself a
charClassExpr, so needs the square brackets.

  Thank you, all's fine now.

  Regards,

--drkm


















	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
Received on Friday, 9 February 2007 13:10:59 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.