Subject: Re: [xsl] XPath 2.0 regex limitations From: Liam R E Quin <liam@xxxxxx> Date: Wed, 20 Oct 2010 12:12:19 -0400 |
On Wed, 2010-10-20 at 12:16 -0300, Max Toro wrote: > Why doesn't XPath 2.0 support word boundaries (\b \B) ? 3.0 may - I think there was a comment filed about it on bugzilla. The expressions came from Schema originally, and I think they rejected \b on the grounds that a document must be valid or not-valid in the same way in all locales. However, at least some regexp libraries (including Perl) define \b in terms of Unicode properties when working with Unicode text. I'd also like zero-width look-ahead and look-behind assertions, again things that don't make as much sense in Schema... and the ability to associate matched groups with variables... and and and... but analyze-string and tokenize do go a long way. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XPath 2.0 regex limitatio, Michael Kay | Thread | [xsl] XSLT2.0 Processors, Neil Owens |
Re: [xsl] XPath 2.0 regex limitatio, Michael Kay | Date | Re: [xsl] question on EXSLT data pa, Hermann Stamm-Wilbra |
Month |