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 <>
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.
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: <>
2008-04-17 14:14:08rsclinkissue2650 messages
2008-04-17 14:14:07rsccreate