[issue31759] re wont recover nor fail on runaway regular expression

Matthew Barnett report at bugs.python.org
Wed Oct 11 17:32:31 EDT 2017


Matthew Barnett <python at mrabarnett.plus.com> added the comment:

You shouldn't assume that just because it takes a long time on one implementation that it'll take a long time on all of the others, because it's sometimes possible to include additional checks to reduce the problem. (I doubt you could eliminate the problem entirely, however.)

My regex module, for example, includes some additional checks, and it seems to be OK with these tests.

----------

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


More information about the Python-bugs-list mailing list