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 pbugnion
Recipients ezio.melotti, mrabarnett, pbugnion
Date 2019-01-29.08:06:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The documentation for `re.sub` states that "Unknown escapes such as ``\&`` are left alone.". This is only true for escapes which are not ascii characters, as far as I can tell (c.f. source on

Would there be value in amending that documentation to either remove that sentence or to clarify it? If so, I'm happy to submit a PR on GitHub.
Date User Action Args
2019-01-29 08:06:11pbugnionsetrecipients: + pbugnion, ezio.melotti, mrabarnett
2019-01-29 08:06:08pbugnionsetmessageid: <>
2019-01-29 08:06:08pbugnionlinkissue35846 messages
2019-01-29 08:06:07pbugnioncreate