leiju added the comment: closed as cannot reproduce it anymore:
Python 2.7.8 (v2.7.8:ee879c0ffa11, Jun 29 2014, 21:07:35) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> >>> >>> >>> import re >>> p = '(abc)|(def)|(xyz)' >>> s = 'abcdefxyz' >>> >>> for s in re.finditer(p, s): print s.groups() ... ('abc', None, None) (None, 'def', None) (None, None, 'xyz') >>> >>> >>> >>> ---------- resolution: -> works for me status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22254> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com