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

From experience, the python re module does weird things sometimes. There is a better third-party regex module, https://pypi.python.org/pypi/regex.


Does it use NFA?

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

Because the issue with the URL regex mentioned is with backtracking.




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

Search: