escaping fails when escape char at the beginnig of a field/line
Brought to you by:
aruckerjones,
sconway
"a\"b", "foo,bar"
" c,d", "foo\"bar"
",ef", foo\,bar - this will work as intended: ["
\,gh, foo\"bar - but this will _not_ !
\,gh, foo\"bar - nevertheless, this will (again) work as intended due to the escape char not being the very first on the line
the expectation is to parse this CSV with two fields/columns per line; but the 4th line (the one starting immediately with the escape char) ends up being seen as 3 columns.
Fixed. Thanks for the bug report. I don't know when the next release will be.
5.5.2 was just released with this fix.
thanks andrew, it works like a charm! 👍 🙇