There's more than one way to do things | |
PerlMonks |
Re: Regexp parses only first line correctlyby broomduster (Priest) |
on Aug 16, 2008 at 19:10 UTC ( [id://704719]=note: print w/replies, xml ) | Need Help?? |
The 'partition' part of a line should be matched by
(no character class needed, and note '*' quantifier). Change the first line of your regex to and it will work (at least it does here). Updated: added bit to note change in quantifier relative to OP.
In Section
Seekers of Perl Wisdom
|
|