[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XPath regular expression for all lines?


Subject: Re: [xsl] XPath regular expression for all lines?
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Thu, 01 Nov 2007 18:55:08 +0100

Try the modifiers: m

same as in Perl ;)

Cheers,
-- Abel Braaksma

Andrew S Halper wrote:
Could anyone tell me what the XPath regular expression is for matching all lines (with a single match) in a string? I thought it would be:

[.\n]*

but that only matches the first line. Perhaps I am too accustomed to Perl "greedy" regular expressions?

Thank you,
Andy Halper


Current Thread
Keywords