in reply to Re: Regexp issue
in thread Regexp issue
assuming you just want to match a leading double-quote followed by something other than a double-quote
I forgot to mention that i have to parse CSV rows, so i have to match a leading double-quote followed by EXACTLY something other than a double-quote, because a third double-quote will be escaped by the previous one:
"18/02/2018" <- in this case the record is 18/02/2018
""18/02/2018" <- in this case the record is invalid
"""18/02/2018" <- in this case the record is "18/02/2018
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regexp issue
by hippo (Archbishop) on Feb 22, 2018 at 16:10 UTC |