Re:Show HN: Comma Separated Values (CSV) to Unicode Separate...
by euroderf on Tuesday March 12, 2024 @03:25PM
(#39683772)
Four commas in a row.
[ Parent
| on HN ]
Re:Show HN: Comma Separated Values (CSV) to Unicode Separate...
by greenshackle2 on Tuesday March 12, 2024 @04:05PM
(#39684278)
Can you parse this 2-row CSV:
SomeCommas,MoreCommas,OnlyOneComma,ALotOfCommas
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Re:Show HN: Comma Separated Values (CSV) to Unicode Separate...
by euroderf on Tuesday March 12, 2024 @04:58PM
(#39684869)
Pathological cases are never difficult to find for any app.
Re:Show HN: Comma Separated Values (CSV) to Unicode Separate...
by greenshackle2 on Tuesday March 12, 2024 @05:12PM
(#39685020)
Wrong. Consider the standard backslash escape: represent literal comma as "\,", and literal backslash as "\\". Backslashes are otherwise forbidden.
It will be difficult to find pathological cases for this grammar, because they don't exist.