Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$'))
2011-07-13 13:56:39
Again for information, for XQSharp we gave up using the .NET regex
engine as there were unresolvable issues with caseless matching of
back-references, and some horrible expansions for multibyte characters
and case insensitive matching corner cases. We now use a custom
implementation, which is about as naïve as possible. We don't even
optimize for regular expressions starting with '^'.
Oliver Hallam
XQSharp
On 13/07/2011 19:17, Michael Kay wrote:
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
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
|
- [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Alex Muir
- Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Oliver Hallam
- Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Alex Muir
- Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Michael Kay
- Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Oliver Hallam
- Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Michael Kay
- Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')),
Oliver Hallam <=
- Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Liam R E Quin
|
Previous by Date: |
Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Michael Kay |
Next by Date: |
Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Liam R E Quin |
Previous by Thread: |
Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Michael Kay |
Next by Thread: |
Re: [xsl] why matches($title,'.*?(\.|,)\s*$')) can perform so much worse than matches($title,'(\.|,)\s*$')), Liam R E Quin |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|