go ahead... be a heretic | |
PerlMonks |
Re^2: Parsing "=" separated outputby johngg (Canon) |
on Aug 03, 2011 at 09:46 UTC ( [id://918211]=note: print w/replies, xml ) | Need Help?? |
Unfortunately, with the look-ahead you would miss the last entry in your example Just put an alternation in the look-ahead to cope with end of string.
I hope this is of interest. Update: I just realised this is in essence exactly the same as Utilitarian's reply. Please ignore. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|