2 ms·
That wouldn't allow for empty fields.
by estebank 3y ago
That wouldn't allow for empty fields.
- euroderf 3y agoFour commas in a row.
- greenshackle2 3y agoCan you parse this 2-row CSV: SomeCommas,MoreCommas,OnlyOneComma,ALotOfCommas ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
- euroderf 3y agoPathological cases are never difficult to find for any app.
- greenshackle2 3y agoWrong. 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.
- euroderf 3y agoWell okay, but there's an outer circle of Hell where people write code to manipulate Windows filepaths.