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 UTC