"be consistent" | |
PerlMonks |
Re: Re: CSV and regex mixupsby flounder99 (Friar) |
on Jul 03, 2003 at 13:07 UTC ( [id://271148]=note: print w/replies, xml ) | Need Help?? |
I felt kind of bad just giving an opinion and not a useful suggestion so here is my suggestion: This works if you know you know your fields will always be surrounded by double quotes and there will be no spaces arround the comma. The spaces could be taken care of by using the regex /(?<=")\s*,\s*(?=")/. -- flounder
In Section
Seekers of Perl Wisdom
|
|