Hacker News new | past | comments | ask | show | jobs | submit login

That wouldn't allow for empty fields.



Four commas in a row.


Can you parse this 2-row CSV:

SomeCommas,MoreCommas,OnlyOneComma,ALotOfCommas

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,


Pathological cases are never difficult to find for any app.


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.


Well okay, but there's an outer circle of Hell where people write code to manipulate Windows filepaths.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: