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