[issue41712] REDoS in purge

Yash Shete report at bugs.python.org
Thu Nov 5 10:01:13 EST 2020


Yash Shete <universeyash4 at gmail.com> added the comment:

converted regex from \w+\d+ to ([A-Za-z_]*\d)+
as asked.
you can modify the sub-pattern \w+\d+ to ([A-Za-z_]*\d)+
and is working fine

----------
nosy: +Pixmew
Added file: https://bugs.python.org/file49571/purge.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41712>
_______________________________________


More information about the Python-bugs-list mailing list