Timeout for regular expression

citronelu at yahoo.com citronelu at yahoo.com
Tue Nov 22 18:37:08 CET 2005

Hi All,

Is there a way to set a timeout interval when executing with a
re.search ? Sometimes (reason being maybe a "bad" pattern), the search
takes forever and beyond...

More information about the Python-list mailing list