my ($value) = $line =~ /\.[\\\/](.*);/;
That won't match lines starting with '/.'
Update: ./ /. \. .\.... too many dots and slashes. I got it wrong.
:)
Dave
In reply to Re^2: Regex failing when the line starts with "./"
by davido
in thread Regex failing when the line starts with "./"
by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |