in reply to Re: Using qr// with a complicated regex
in thread Using qr// with a complicated regex

Yup. That's a typo. Sorry 'bout that, that's what I get for making up code instead of using cut-and-paste. ;-) It should be:
my @vars; $string =~ /(?{local @1 = ();} (?:( (\d) (?{ local @1 = (@1, $1) }) \w )+ \d\w (?{ @vars = @1 })/x;

elusion : http://matt.diephouse.com