Re: why matches($title,'.*?(\.|,)\s*$')) can perform s
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format