in reply to Re: global regex
in thread global regex

Depends on context, but yes in this case (assuming your code is simply missing a ";").

It, however, does not affect what gets put in $1, $2, etc. The earliest set of parens goes in $1, the next earliest set of parens goes in $2, etc. Since you only have one set of parens, only $1 will ever get populated.