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 ezio.melotti
Recipients Yujiri, ezio.melotti, mrabarnett
Date 2020年06月22日.17:54:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592848454.56.0.661343299041.issue41080@roundup.psfhosted.org>
In-reply-to
Content
This behavior was changed in 3.7: "Empty matches for the pattern are replaced only when not adjacent to a previous empty match, so sub('x*', '-', 'abxd') returns '-a-b--d-'." [0]
See also bpo-32308 and bpo-25054.
[0]: https://docs.python.org/3/library/re.html#re.sub 
History
Date User Action Args
2020年06月22日 17:54:14ezio.melottisetrecipients: + ezio.melotti, mrabarnett, Yujiri
2020年06月22日 17:54:14ezio.melottisetmessageid: <1592848454.56.0.661343299041.issue41080@roundup.psfhosted.org>
2020年06月22日 17:54:14ezio.melottilinkissue41080 messages
2020年06月22日 17:54:14ezio.melotticreate

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