Ralf Schmitt added the comment: here is an example (from http://swtch.com/~rsc/regexp/regexp1.html)
python -c 'import re; num=25; r=re.compile("a?"*num+"a"*num); r.match("a"*num)' At work I have seen a real world case of a regular expression which ran for minutes rendering the application unresponsive. We would have been glad to be able to interrupt the regular expression engine and getting a traceback. ---------- nosy: +schmir ____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue846388> ____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com