in reply to Re: Parsing "=" separated output
in thread Parsing "=" separated output
Thanks!
I've modified the regexp a bit, so that the concatenation is no longer necessary
while ( $string =~ m/\s+([^\s]+?)=(.*?)(?=\s[^\s]+=|$)/g )
Works quite well.
Regards,
Luke
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Parsing "=" separated output
by Utilitarian (Vicar) on Aug 03, 2011 at 08:16 UTC |
In Section
Seekers of Perl Wisdom