|
Posted by David Dorward on 08/08/07 15:43
On Aug 8, 4:20 pm, Ben C <spams...@spam.eggs> wrote:
> CSV parsers are harder than they look. You'd think it would just be
> s.split(/\s*,\s*/) or something, but CSV has some rather nasty quoting
> and/or escaping rules.
Harder then they look, but not too hard despite that. I'd certainly
attack it with a tokeniser rather then a regex though.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Navigation:
[Reply to this message]
|