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 mrabarnett
Recipients jlaurens, mrabarnett
Date 2020-11-26.16:01:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606406499.45.0.778391927918.issue42473@roundup.psfhosted.org>
In-reply-to
Content
Not a bug.

Argument 4 of re.sub is the count:

    sub(pattern, repl, string, count=0, flags=0)

not the flags.
History
Date User Action Args
2020-11-26 16:01:39mrabarnettsetrecipients: + mrabarnett, jlaurens
2020-11-26 16:01:39mrabarnettsetmessageid: <1606406499.45.0.778391927918.issue42473@roundup.psfhosted.org>
2020-11-26 16:01:39mrabarnettlinkissue42473 messages
2020-11-26 16:01:39mrabarnettcreate