in reply to Re: How to improve regex for parsing equals delimited data
in thread How to improve regex for parsing equals delimited data
Same idea in one operation, a little more robust, and using his original [A-Za-z]+ for fields...
my ($toss, @list) = split /\s*[A-Za-z]+\s*\=\s*/;
-sauoq
"My two cents aren't worth a dime.";
"My two cents aren't worth a dime.";
|
---|
In Section
Seekers of Perl Wisdom