Think about Loose Coupling | |
PerlMonks |
Re: How to Map Regex to Hashby japhy (Canon) |
on Jun 30, 2006 at 20:36 UTC ( [id://558679]=note: print w/replies, xml ) | Need Help?? |
I think the regex /(\d+),"(.*?)"/g will work for you. This assumes no embedded quotes, etc. The problem with yours was the parens on the outside of the regex. And that /m modifier was useless.
In Section
Seekers of Perl Wisdom
|
|