xsl-list
[Top] [All Lists]

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

2007-11-01 10:57:22
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


--~------------------------------------------------------------------
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>