[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: a question about csv parser
- From: gary ng <garyng2000@...>
- Date: Thu, 13 Sep 2007 01:57:31 -0700 (PDT)
Hi,
I have a question about csv parser.
For most of the codes I can search(including lpeg and
even python's module), they show how to break a
"record" or csv line into fields.
Now if I have a file like the following :
"this is a field with \r\n", 2, 3 \r\n
normal, 2, 3 \r\n
how do I read the correct line as the quoted \r\n
would not be treated specially by io:lines(), I
assume.
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC