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 rsc
Recipients rsc
Date 2008-04-17.14:14:06
SpamBayes Score 0.009682102
Marked as misclassified No
Message-id <1208441650.53.0.945063086485.issue2650@psf.upfronthosting.co.za>
In-reply-to
Content
import re
print re.escape("_")

Prints \_ but should be _.

This behavior differs from Perl and other systems: _ is an identifier
character and as such does not need to be escaped.
History
Date User Action Args
2008-04-17 14:14:10rscsetspambayes_score: 0.0096821 -> 0.009682102
recipients: + rsc
2008-04-17 14:14:10rscsetspambayes_score: 0.0096821 -> 0.0096821
messageid: <1208441650.53.0.945063086485.issue2650@psf.upfronthosting.co.za>
2008-04-17 14:14:08rsclinkissue2650 messages
2008-04-17 14:14:07rsccreate