Time out a regular expression in Python 2.6.4?
python at bdurham.com
python at bdurham.com
Mon Feb 15 10:43:22 EST 2010
Is there any way to time out a regular expression in Python
2.6.4?
Motiviation: Our application allows users to enter regular
expressions as validation criteria. If a user enters a
pathological regular expression, we would like to timeout the
evaluation of this expression after a short period of time.
Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100215/dbe2b925/attachment.html>
More information about the Python-list
mailing list