This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Robert Lujo, ezio.melotti, gdr@garethrees.org, mrabarnett, serhiy.storchaka
Date 2017-04-04.08:09:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491293377.56.0.247906000313.issue29977@psf.upfronthosting.co.za>
In-reply-to
Content
This is a well known issue called catastrophic backtracking. It can't be solved with the current implementation of the regular expression engine. The best you can rewrite your regular expression. Even replacing "(.|\s)" with just "." can help.
History
Date User Action Args
2017-04-04 08:09:37serhiy.storchakasetrecipients: + serhiy.storchaka, ezio.melotti, mrabarnett, gdr@garethrees.org, Robert Lujo
2017-04-04 08:09:37serhiy.storchakasetmessageid: <1491293377.56.0.247906000313.issue29977@psf.upfronthosting.co.za>
2017-04-04 08:09:37serhiy.storchakalinkissue29977 messages
2017-04-04 08:09:37serhiy.storchakacreate