[VPM] regex found matches array

Jer A jeremygwa at hotmail.com
Fri Feb 27 17:11:20 PST 2009



How do i retrieve the "groups" array, from the regex query that contains the groups in $1 $2 $3 ...etc . the script has no hardcoded knowledge of the regex pattern, as it is read from a string into a $var, which is evaluated like this /$var/eg.

Thanks in advance for all help....I hope you can understand, as I find it hard to explain.

-Jeremy.




_________________________________________________________________
The new Windows Live Messenger. You don’t want to miss this.
http://www.microsoft.com/windows/windowslive/products/messenger.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/victoria-pm/attachments/20090227/65298d44/attachment.html>


More information about the Victoria-pm mailing list