my ($LSV, $LSN) = $temp =~ m/^.*: (\w+).*: (\w+)/s;
print "LSV: $LSV\nLSN: $LSN\n";
This still has the problem (IMHO) that the success of the match is not tested before using the 'results' of the match. Please see my reply above.
In reply to Re^2: Issues With Regex
by AnomalousMonk
in thread Issues With Regex
by ImJustAFriend
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |