4 ms·
The previous commit (probably) failed at that. However, with the latest commit, parsing that malformatted CSV returns: [ ["x","x\"","","x"], ["
by knrz 12y ago
The previous commit (probably) failed at that. However, with the latest commit, parsing that malformatted CSV returns:
[
["x","x\"","","x"],
["x","x"],
["y","","","",123]
]
I can't see anything wrong with it. Am I missing something?
- gav 12y agoIt should parse as: [ ["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) DQUOTE