Subject: Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')) From: Oliver Hallam <oliver@xxxxxxxxxxx> Date: Wed, 13 Jul 2011 19:53:51 +0100 |
Oliver Hallam XQSharp
On 13/07/2011 18:43, Oliver Hallam wrote:That is interesting. I was aware that there are some very smart regex engines out there, but wasn't aware that they had made it to any XQuery/XSLT processors yet.
For information, Saxon is using the Java regex engine (even on .NET), which isn't considered particularly smart by the regex cognoscenti.
(The XPath regular expression is translated into an equivalent Java regular expression in cases where the syntax differs).
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] why matches($title,'.*?(\, Michael Kay | Thread | Re: [xsl] why matches($title,'.*?(\, Liam R E Quin |
Re: [xsl] why matches($title,'.*?(\, Michael Kay | Date | Re: [xsl] why matches($title,'.*?(\, Liam R E Quin |
Month |