Hugo Lopes Tavares <hlt...@gmail.com> added the comment: Hey, I started the patch under `default` branch, and get the following working:
>>> import re >>> re.compile("foo") re.compile("foo", re.UNICODE) >>> re.compile("foo", re.DOTALL) re.compile("foo", re.DOTALL|re.UNICODE) >>> re.compile("foo", re.DOTALL|re.MULTILINE) re.compile("foo", re.MULTILINE|re.DOTALL|re.UNICODE) >>> Do you have any comments on it? I want to adapt the patch to make it work with python 2.7 too. Do you think is it worthful? The attached patch was done after commit 3fbfa61634de. ---------- keywords: +patch nosy: +hltbra Added file: http://bugs.python.org/file26441/issue13592_add_repr_to_regex.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13592> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com