Do you know where your variables are? | |
PerlMonks |
Re: Help with regex for complicated key=value stringby kvale (Monsignor) |
on Oct 29, 2008 at 18:49 UTC ( [id://720293]=note: print w/replies, xml ) | Need Help?? |
I would split on everything that is not a bare comma (untested):
By grouping the split regex, we get split bits as well as bare commas. Then we filter bare commas. This assumes that quotes are not nested. -Mark
In Section
Seekers of Perl Wisdom
|
|