Jethro commented on a Page, Warscript HumbleGath  -  Jul 08, 2010

You treat regex as that of a conventional if statement with $1 and $2. The proper format of regex is: > if ($regex($1,/^MatchString$/)) { with the delimiters (forward slashes). And to reference to the match string, you enclose it with a set of parenthesis and use $regml(1). Like Meta said, the use of regex is rather pointless in the case of your code.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.