Too short. That fails if the file size is 10,000,000 bytes or more.
my ($file) = $line =~ /:.{15}(.*)/;
would be minimal.
In reply to Re^2: Regular Expressions Matching with Perl
by ikegami
in thread Regular Expressions Matching with Perl
by nimdokk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |