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

regexps aren't regular, so most "proper" engines also do backtracking.

Indeed, if you stick with the regular subset, you can be really fast:

http://swtch.com/~rsc/regexp/regexp1.html



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

Search: