- or download this
...
sub convert
...
"three - four - five+89" =~ $re;
print "baz=$~{baz}, qux=$~{qux}, $~{3}\n";
- or download this
my $re = qr/(?\$bar=\w+) - (?\$qux{not}=\w+)/;
- or download this
...
sub convert
...
$re
}
...
- or download this
my $re = qr/...(?\$var=a(\d+|\w-\w+)b).../;