xsl-list
[Top] [All Lists]

Re: [xsl] two regexp related questions

2011-05-19 16:14:44
On 2011-05-19 23:10, David Carlisle wrote:
On 19/05/2011 20:16, Julian Reschke wrote:
regex-group function will only return the contents for the last match,
right?

yes but you can put an extra group around the repeat so capture all of
that for splitting later so
((aa|bb)*)
not just
(aa|bb)*

David

Yep, and that's what I do. I just wanted to make sure that I wasn't missing another option.

Thanks, Julian

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