Every time you use regular expression, you reset the variables $1..$9No, it's only a successful match that resets them. Common misconception.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Re: stupid $1
by merlyn
in thread Regex Capture Fails (was: stupid $1)
by miller
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |