Message389953
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 |
|
Date |
User |
Action |
Args |
2021-04-01 04:12:25 | Dennis Sweeney | set | recipients:
+ Dennis Sweeney, alegrigoriev |
2021-04-01 04:12:25 | Dennis Sweeney | set | messageid: <1617250345.75.0.672043998387.issue43686@roundup.psfhosted.org> |
2021-04-01 04:12:25 | Dennis Sweeney | link | issue43686 messages |
2021-04-01 04:12:25 | Dennis Sweeney | create | |
|