$regml: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
m removing stub-pages, added content
mNo edit summary
 
Line 8: Line 8:


[[Category:Regular_Expression]]
[[Category:Regular_Expression]]
[[Category:Identifiers]]

Latest revision as of 23:17, 2 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.