xsl-list
[Top] [All Lists]

RE: [xsl] lookaheads in XSLT2 regexes

2010-03-03 15:28:00
On the subject of \b I'll note we do have \W and \w 

So we do, I overlooked that. And we define it a little differently from
Perl:

[#x0000-#x10FFFF]-[\p{P}\p{Z}\p{C}] 

So for example "+" is regarded as part of a word, while "-" isn't. Which
strikes me as totally useless, to be honest.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>