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

That kind of depends on the language I am using, as well as dealing with performance requirements vs readability tradeoffs.


What I like about regexes is they are typically both the most readable and the best performing solution to the kind of problems they are suited for.

Just don't use them for validating email addresses or determining if a number is a prime.




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

Search: