Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: I know :-)
Unfortunately it is not obviously that these optimization actually optimize regular expressions. Due to the implementation particularities sometimes "unoptimized" code is faster than "optimized". I'm going to implement these optimizations in the re module, but it needs to be very careful, and may need changing the matching engine. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31324> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com