➜

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.

作者 mrabarnett
收信人 mrabarnett
日期 2008-07-02.22:07:48
SpamBayes Score 0.024253152
Marked as misclassified 否
Message-id <1215036469.9.0.581701421463.issue3262@psf.upfronthosting.co.za>
In-reply-to
内容
re.split doesn't split a string when the regex matches a zero characters.

For example:

re.split(r'\b', 'a b') returns ['a b'] instead of ['', 'a', ' ', 'b', ''].

re.split(r'(?<!\w)(?=\w)', 'a b') returns ['a b'] instead of ['', 'a ',
'b'].
历史
日期 用户 动作 参数
2008-07-02 22:07:50mrabarnett修改spambayes_score: 0.0242532 -> 0.024253152
recipients: + mrabarnett
2008-07-02 22:07:49mrabarnett修改spambayes_score: 0.0242532 -> 0.0242532
messageid: <1215036469.9.0.581701421463.issue3262@psf.upfronthosting.co.za>
2008-07-02 22:07:48mrabarnett链接issue3262 messages
2008-07-02 22:07:48mrabarnett创建