Re: CSV parser, quotes?

2003-07-31 Thread Keith Wansbrough
In attempting to improve the CSV parser based on comments, I have the following code that's attached. I'm having a heck of a time getting the double quotes = an escaped quote thing to work. There is some commented out code which was my last attempt. As it stands the code works, minus the

CSV parser, quotes?

2003-07-30 Thread Shawn P. Garbett
In attempting to improve the CSV parser based on comments, I have the following code that's attached. I'm having a heck of a time getting the double quotes = an escaped quote thing to work. There is some commented out code which was my last attempt. As it stands the code works, minus the

Re: CSV parser, quotes?

2003-07-30 Thread Graham Klyne
The Parsec library code contains string-parsing (with escapes) that you might be able to use or canibalize. See 'StringLiteral' et seq in ParsecToken.hs. The escape handling there is a fair amount of code, bit it covers a lot of escape options. #g -- At 14:54 30/07/03 -0500, Shawn P. Garbett