Re: why matches($title,'.*?(\.

[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: why matches($title,'.*?(\.|,)\s*$')) can perform s

Subject: Re: why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$'))
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 13 Jul 2011 19:17:44 +0100
Re:  why matches($title
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.