Regexp problem, which pattern to use in split

2004-12-14 Thread Hans Almåsbakk
. (optional " before and after comma), which of course also goes wrong. " may and may not occur around the splitting comma, but that would also match single commas inside quoted text, see example. Any pointer will be greatly appreciated. Maybe I'm attacking this problem the wrong way alre

Re: Regexp problem, which pattern to use in split

2004-12-13 Thread Hans Almåsbakk
s:~# python -V Python 2.1.3 Is there a relatively hassle-free way to get the csv module working with 2.1? The server is running Debian stable/woody, and it also seemed 2.2 can coexist with 2.1, when I checked the distro packages, if that is any help. Regards -- Hans Almåsbakk -remov