in reply to Re (tilly) 1: csv output
in thread csv output
and " can appear doubled.
Ouch, that hurts. Mastering Regular Expressions assumes " can be escaped with a backslash.
The regex the book uses is:
Would that introduce Microsoft-incompatability?"([^"\\]*(\\.[^"\\]*)*)",?|([^,]+),?|,
U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 3: csv output
by tilly (Archbishop) on Mar 14, 2002 at 19:53 UTC | |
by Juerd (Abbot) on Mar 14, 2002 at 20:09 UTC | |
by tilly (Archbishop) on Mar 14, 2002 at 20:27 UTC | |
by Juerd (Abbot) on Mar 14, 2002 at 21:21 UTC |