[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-04-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected type: -> enhancement versions: +Python 3.3 ___ Python tracker ___ ___ Pyth

[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-03-10 Thread py.user
py.user added the comment: "+returning a list containing the resulting substrings. If +capturing parentheses are used in pattern, then the text of all +groups in the pattern are also returned as part of the resulting +list." not only text >>> import re >>> re.split(r'(a)(x)?',

[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-03-10 Thread Georg Brandl
Georg Brandl added the comment: Thank you, should be fixed now. -- nosy: +georg.brandl stage: committed/rejected -> ___ Python tracker ___ _

[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset b96251d9f36a by Georg Brandl in branch '3.2': Closes #14244: add info about capturing groups and maxsplit to the docstring of re.split(). http://hg.python.org/cpython/rev/b96251d9f36a -- nosy: +python-dev resolution: -> fixed stage: -> c

[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-03-09 Thread py.user
Changes by py.user : -- components: +Regular Expressions nosy: +ezio.melotti, mrabarnett, py.user versions: +Python 3.2 ___ Python tracker ___ ___

[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-03-09 Thread Ramchandra Apte
Ramchandra Apte added the comment: Oops. The link in the last sentence doesn't work. It should be see msg155283 . -- ___ Python tracker ___ _

[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-03-09 Thread Ramchandra Apte
New submission from Ramchandra Apte : help(re.split) "split(pattern, string, maxsplit=0, flags=0) Split the source string by the occurrences of the pattern, returning a list containing the resulting substrings." No info is given about behaviour with groups in pattern. Created because o