Jussi Pakkanen added the comment: This is slow even when ignores is set to a non-empty value. It's not as slow but the real slowdown is in the whitespace regex. Here is a minimal sample:
input = ' abc' re.search(r'(\s+)+d', input) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30148> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com