W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2007

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>

Michael Kay wrote:


> >     [\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.




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 
Received on Friday, 9 February 2007 13:10:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:11 UTC