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

I think for any code thats meant to be read and maintained by someone else a regex is a bad idea.

You are saving a few lines on the surface, but adding a potential backtracking bug in the future.



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

Search: