Subject: Re: [xsl] Comments in XPath / XSLT regular expressions? From: Abel Braaksma Online <abel.online@xxxxxxxxx> Date: Wed, 26 Jul 2006 11:16:04 +0200 |
Cheers, Abel
On Wednesday 26 July 2006 08:45, Abel Braaksma Online wrote:
Dear List,
The regular expression syntax used in XSLT and XPath is largely based on
Perl's regular expression syntax. Perl added a very useful construct to
their regular expression dialect: the /x modifier. It gives "whitespace
freedom" and allows for comments inside regular expressions. It was a
great enhancement at the time, especially for moderate to difficult
regexes.
As I see it, XPath 2.0 has that flag too. See XQuery 1.0 and XPath 2.0 Functions and Operators, section 7.6.1.1 Flags:
http://www.w3.org/TR/xpath-functions/#regex-syntax
Cheers,
Frans
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Comments in XPath / XSLT , Frans Englich | Thread | Re: [xsl] Comments in XPath / XSLT , David Carlisle |
Re: [xsl] Comments in XPath / XSLT , Frans Englich | Date | Re: [xsl] Re: building a hierarchic, Albert Juhé |
Month |