Well, the documentation doesn't say they're scoped like "local" would do :-)
In a way you're right, but imho there is no problem arising from this issue if you always use your own variables instead of $1 .. $n. (Which means you assign your own vars immediately after the match).
--In reply to Re: Re: Re: Regex Capturing: Is this a bug or a feature?
by fruiture
in thread Regex Capturing: Is this a bug or a feature?
by shotgunefx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |