|
|
| "be consistent" | |
| PerlMonks |
Re: Parsing a log fileby Nkuvu (Priest) |
| on Nov 27, 2007 at 17:03 UTC ( [id://653312]=note: print w/replies, xml ) | Need Help?? |
|
Two things I'd personally suggest. One, do a non-greedy match with .*? (although I'd wonder if there's no data -- perhaps use .+? instead). Not critical, just precautionary. And two, verify your match (this could probably be more elegant, but just to illustrate the point):
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||