in reply to Re: Using qr// with a complicated regexin thread Using qr// with a complicated regex
my @vars; $string =~ /(?{local @1 = ();} (?:( (\d) (?{ local @1 = (@1, $1) }) \w )+ \d\w (?{ @vars = @1 })/x; [download]
elusion : http://matt.diephouse.com