Subject: Re: [xsl] Regex groups / was: Re: [xsl] Move leading/trailing spaces outside (XSLT 2.0) From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 06 Feb 2007 17:54:49 +0100 |
Though familiar with RegExp functions in various languages, I am not sure how this one works, so I wonder what happens when the condition of the first regex group cannot be satisfied. Supposing that the second matches, will I then have to refer to it as regex-group(1) or still as regex-group(2)? I.e., do the numbers index the groups defined in the regex or the substrings that actually matched one of the groups?
I.e., text is: "this is a text" regex: (t(.+)(.*))
-- Abel Braaksma http://www.nuntia.nl
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Regex groups / was: Re: [xsl], Yves Forkl | Thread | Re: [xsl] Regex groups / was: Re: [, Abel Braaksma |
Re: [xsl] "Market"-Share of XSLT pr, Mukul Gandhi | Date | Re: [xsl] Regex groups / was: Re: [, Martin Honnen |
Month |