Matthew Barnett <[EMAIL PROTECTED]> added the comment: What should:
[m.groups() for m in re.finditer(r'(^z*)|(^q*)|(\w+)', 'abc')] return? Should the second group also yield a zero-width match before the third group is tried? I think it probably should. Does Perl? _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1647489> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com