➜

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
收信人 BreamoreBoy, ezio.melotti, mrabarnett, py.user, serhiy.storchaka
日期 2014-06-26.10:25:14
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1403778314.58.0.841579410662.issue14460@psf.upfronthosting.co.za>
In-reply-to
内容
Lookarounds can contain capture groups:

>>> import re
>>> re.search(r'a(?=(.))', 'ab').groups()
('b',)
>>> re.search(r'(?<=(.))b', 'ab').groups()
('a',)

so lookarounds that are optional or can have no repeats might have a use.

I'm not sure whether it's useful to repeat them more than once, but that's another matter.

I'd say that it's not a bug.
历史
日期 用户 动作 参数
2014-06-26 10:25:14mrabarnett修改recipients: + mrabarnett, ezio.melotti, py.user, BreamoreBoy, serhiy.storchaka
2014-06-26 10:25:14mrabarnett修改messageid: <1403778314.58.0.841579410662.issue14460@psf.upfronthosting.co.za>
2014-06-26 10:25:14mrabarnett链接issue14460 messages
2014-06-26 10:25:14mrabarnett创建