Serhiy Storchaka added the comment: Here is a patch which fixes lookbacks with group references and with group conditionals. I have used Andrew's examples as the base for tests.
---------- assignee: -> serhiy.storchaka components: +Regular Expressions keywords: +patch nosy: +ezio.melotti stage: -> patch review versions: +Python 3.4, Python 3.5 -Python 2.6, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file36882/re_getwidth.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9179> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com