Keep It Simple, Stupid | |
PerlMonks |
Re: Re: More Variable length regex issuesby pzbagel (Chaplain) |
on Jun 09, 2003 at 00:40 UTC ( [id://264192]=note: print w/replies, xml ) | Need Help?? |
Well, if you KNOW there will always be 4 fields, then hardcode that in your regex:
A warning: that regex wouldn't work right if there was comma embedded in quotes in one of the fields. I'd recommend using the Text::CSV_XS module, but as you state that you aren't actually using Perl... Later
In Section
Seekers of Perl Wisdom
|
|