Re: [xsl] XPath 2.0 regex limitations

Subject: Re: [xsl] XPath 2.0 regex limitations
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 20 Oct 2010 16:57:48 +0100
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

Current Thread