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 ezio.melotti, jjl, mrabarnett
Date 2013-08-05.17:19:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375723174.54.0.996659282242.issue18662@psf.upfronthosting.co.za>
In-reply-to
Content
The help says:

""">>> help(re.escape)
Help on function escape in module re:

escape(pattern)
    Escape all the characters in pattern except ASCII letters, numbers and '_'.
"""

The complementary approach is to escape _only_ the metacharacters.
History
Date User Action Args
2013-08-05 17:19:34mrabarnettsetrecipients: + mrabarnett, ezio.melotti, jjl
2013-08-05 17:19:34mrabarnettsetmessageid: <1375723174.54.0.996659282242.issue18662@psf.upfronthosting.co.za>
2013-08-05 17:19:34mrabarnettlinkissue18662 messages
2013-08-05 17:19:34mrabarnettcreate