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 serhiy.storchaka
Recipients Anders.Hovmöller, Mark Borgerding, ezio.melotti, mrabarnett, mu_mind, serhiy.storchaka
Date 2020-04-16.14:46:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The former implementation was wrong. See issue25054 which contains more obvious examples of that bug:

>>> re.sub(r"\b|:+", "-", "a::bc")

Not all colons were replaced despite the fact that the pattern matches all colons.
Date User Action Args
2020-04-16 14:46:18serhiy.storchakasetrecipients: + serhiy.storchaka, ezio.melotti, mrabarnett, mu_mind, Anders.Hovmöller, Mark Borgerding
2020-04-16 14:46:18serhiy.storchakasetmessageid: <>
2020-04-16 14:46:18serhiy.storchakalinkissue32308 messages
2020-04-16 14:46:18serhiy.storchakacreate