Subject: Re: [xsl] lookaheads in XSLT2 regexes From: Dave Pawson <davep@xxxxxxxxxxxxx> Date: Tue, 02 Mar 2010 07:48:13 +0000 |
I didn't realise we were missing \b -- we should add it, if that's the case.
I think it was omitted deliberately, on the grounds that it's locale-sensitive. It's defined in Perl as matching "a spot between two characters that has a \w on one side of it and a \W on the other side of it (in either order)", where \w matches a "word" character (defined as "alphanumeric" plus "_"), in which "the list of alphabetic characters generated by \w is taken from the current locale". That's not an acceptable definition for our purposes, so it's arguably better to have no definition at all.
James Clark (4 days ago from Chromed Bird) RT @sikkha: `8`88`8`8+`8!`82`8"`9`8#`8`8`8-`8`8#`80`8`8`8*`81`8!`8`8`82`8`9`8!`9`9`8 `9`9`8`87`9`8-`9`8+`9 `9`8`84`8`8`82`8#`9`8`9`8`8`81`8`9`8*`8#`85`9`8`9`8`9 `8`8-`8"`89`9`9`8%`9 `8'
-- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] lookaheads in XSLT2 regex, Imsieke, Gerrit, le- | Thread | [xsl] New worldwide XML-related tra, G. Ken Holman |
[xsl] New worldwide XML-related tra, G. Ken Holman | Date | RE: [xsl] lookaheads in XSLT2 regex, Michael Kay |
Month |