Tomasz J. Kotarba added the comment: Hi R. David Murray, Thanks for your reply. I just explained in my previous message to Matthew that documentation does actually support my view (i.e. it is an issue according to the documentation). Re. the issue you mentioned (discarding information concerning group matching) that (plus maintaining the compatibility with legacy code) is why I suggested adding a new optional argument to re.split. Apropos discrading information, the current behaviour results in discarding information about parts of the string not enclosed in grouping parentheses. Cheers, T
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17668> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com