Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Regular expressions are a very useful tool in a programmer’s toolbox. But they can’t do everything. And one of the things they can’t do is to reliably parse CSV (comma separated value) files. This is because a regular expression doesn’t store state. You need a state machine (or something equivalent) to parse a CSV file.


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

Search: