Serhiy Storchaka added the comment: If you want the "soft" approach, then you should revert your changes to _sre.SRE_Pattern.match. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue20283> _______________________________________