/(.*):(.*)/; my $regexp = $1; my $sev = $2; next unless $description =~ /$regexp/i; $severity = $sev; ...
After the second match, $2 isn't what you think it is.
In reply to Re: obvious matching patterns don't match
by roju
in thread obvious matching patterns don't match
by Random_Walk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |