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

> Traditional wisdom tells you regex is slow.

Because it's uncomfortably easy to create catastrophic backtracking.

But just logical-ORing many patterns together isn't one of the ways to do that, at least as far as I'm aware.





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

Search: