homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author py.user
Recipients Ramchandra Apte, docs@python, ezio.melotti, georg.brandl, mrabarnett, py.user, python-dev
Date 2012年03月10日.08:42:14
SpamBayes Score 0.010920607
Marked as misclassified No
Message-id <1331368934.8.0.996037634245.issue14244@psf.upfronthosting.co.za>
In-reply-to
Content
"+ 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)?', 'abcabc')
['', 'a', None, 'bc', 'a', None, 'bc']
>>>
History
Date User Action Args
2012年03月10日 08:42:14py.usersetrecipients: + py.user, georg.brandl, ezio.melotti, mrabarnett, docs@python, python-dev, Ramchandra Apte
2012年03月10日 08:42:14py.usersetmessageid: <1331368934.8.0.996037634245.issue14244@psf.upfronthosting.co.za>
2012年03月10日 08:42:14py.userlinkissue14244 messages
2012年03月10日 08:42:14py.usercreate

AltStyle によって変換されたページ (->オリジナル) /