Menu

#63 escaping fails when escape char at the beginnig of a field/line

Unstable (example)
closed
None
5
2021-09-06
2021-08-30
geppetto
No
"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.

Discussion

  • Andrew Rucker Jones

    • status: open --> pending
    • assigned_to: Andrew Rucker Jones
     
  • Andrew Rucker Jones

    Fixed. Thanks for the bug report. I don't know when the next release will be.

     
  • Andrew Rucker Jones

    • status: pending --> closed
     
  • Andrew Rucker Jones

    5.5.2 was just released with this fix.

     
  • geppetto

    geppetto - 2021-09-06

    thanks andrew, it works like a charm! 👍 🙇

     

Log in to post a comment.