in reply to Re: Regex failing
in thread Regex failing
(my $file_name) = $line =~ / \/ #match a front slash "/" [^\/]#dont match any more frontslashes (.*)#match everything after / and save \s-\s#match a " - " /;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex failing
by fisher (Priest) on Feb 03, 2011 at 10:41 UTC |