Whoops, this has a small weakness, if a quoted area ends
with a comma eg:
"field1,field2,"
You can get around this using the so much more complex:
Replace:
,("[^\r\t]*?")
with:
\t\1
Includes non-greedy flag - yeah!
Due to the complexitiy of regex, I might
have to start putting revision numbers on this :-)
Jamin
P.S Technically I dont think this is grep,
I dont know why BBEdit calls its checkbox 'grep'.
To my mind it is regex (or regexp)
I though grep was a unix file utility that supported
regex??