in reply to Re: Regular Expressions Matching with Perl
in thread Regular Expressions Matching with Perl
Too short. That fails if the file size is 10,000,000 bytes or more.
my ($file) = $line =~ /:.{15}(.*)/;
would be minimal.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regular Expressions Matching with Perl
by Fletch (Bishop) on Apr 20, 2005 at 18:21 UTC | |
by ikegami (Patriarch) on Apr 20, 2005 at 18:39 UTC |