xsl-list
[Top] [All Lists]

Re: [xsl] XPath 2.0 regex limitations

2010-10-20 10:58:03
 On 20/10/2010 16:16, Max Toro wrote:
Why doesn't XPath 2.0 support word boundaries (\b \B) ?

Because the definition of a word boundary varies from one language to another, and it was felt that regex facilities should be language-neutral.

(Though I'm sure a language-neutral definition in terms of character categories would be possible; but the decision what to include was based on conservative criteria.)

Michael Kay
Saxonica

--~------------------------------------------------------------------
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>