Dennis Sweeney <sweeney.dennis...@gmail.com> added the comment:

It's well-known that regular expressions can take exponential time. You can try 
searching this bug tracker for "re exponential". Common suggestions are to try 
a third-party module, or to write better regexes where possible. Note that the 
important bits of the re module are already implemented in C:

https://github.com/python/cpython/blob/master/Modules/_sre.c

----------
nosy: +Dennis Sweeney

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43686>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to