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 benjamin.peterson
Recipients benjamin.peterson, rsc
Date 2008-04-17.20:44:14
SpamBayes Score 0.15524106
Marked as misclassified No
Message-id <1208465056.16.0.871421155437.issue2650@psf.upfronthosting.co.za>
In-reply-to
Content
It seems that escape is pretty dumb. The documentations says that
re.escape escapes all non-alphanumeric characters, and it does that
faithfully. It would seem more useful to have a list of meta-characters
and just escape those. This is more true in Py3k when str can have
thousands of possible characters that could be considered alphanumeric.
History
Date User Action Args
2008-04-17 20:44:16benjamin.petersonsetspambayes_score: 0.155241 -> 0.15524106
recipients: + benjamin.peterson, rsc
2008-04-17 20:44:16benjamin.petersonsetspambayes_score: 0.155241 -> 0.155241
messageid: <1208465056.16.0.871421155437.issue2650@psf.upfronthosting.co.za>
2008-04-17 20:44:15benjamin.petersonlinkissue2650 messages
2008-04-17 20:44:14benjamin.petersoncreate