Note that it fails to parse CSV like:
"x",""x"",,"x
x","x"
"y",,,,123 "x",""x"",,"x
x","x"
"y",,,,123 [
["x","x\"","","x"],
["x","x"],
["y","","","",123]
]
I can't see anything wrong with it. Am I missing something? [
["x","\"x\"","","x\nx","x"],
["y","","","",123]
]
It's valid CSV, inasmuch as it's accepted and generated by a lot of tools and RFC 4180 ABNF: escaped = DQUOTE *(TEXTDATA / COMMA / CR / LF / 2DQUOTE) DQUOTEThat CSV text is malformed. Arguably, the parsing succeeded, but the expected errors were generated and reported.