On Wed, 2005-05-25 at 23:24 -0500, Don Seiler wrote: > On 19:05 Wed 25 May , James Sangster wrote: > > I was looking to doing CSV parsing using regular expressions, but I came > > across one post in a newsgroup where it was stated that regular expressions > > themselves couldn't handle it alone. Because the environment I was working > > with had restricted regular expression capabilities and no third party > > package integration capabilities, I instead just went for the brute force > > method of parsing character for character on each line and using a state > > machine. > > > > It seems to work very well, but the performance could be a little better. > > Would the jakarta community welcome a CSV parsing/writing module for > commons? I'd be happy to work on it, no doubt I would start down a > similar path of having to look at each character and track the state of > what is a field and what isn't. >
There was a thread on this topic almost exactly two years ago, with subject "[SURVEY] Commons-csv or not?": http://tinyurl.com/bojgz Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
