Difference between revisions of "$regml"
From Scriptwiki
m (Added a null page) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | '''$regml([name], N)'''<br /> | |
+ | '''Properties: pos''' | ||
+ | |||
+ | This can be used to reference the back referenced (items enclosed in parentheses) values returned by a call to [[$regex|$regex()]] or [[$regsub|$regsub()]]. | ||
+ | |||
+ | If N = 0, returns total number of match strings.<br /> | ||
+ | The pos property returns a strings position in the original match text. | ||
+ | |||
[[Category:Regular_Expression]] | [[Category:Regular_Expression]] | ||
+ | [[Category:Identifiers]] |
Latest revision as of 00:17, 3 February 2011
$regml([name], N)
Properties: pos
This can be used to reference the back referenced (items enclosed in parentheses) values returned by a call to $regex() or $regsub().
If N = 0, returns total number of match strings.
The pos property returns a strings position in the original match text.