[issue2650] re.escape should not escape underscore

Ezio Melotti report at bugs.python.org
Tue Mar 15 00:23:56 CET 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

re.escape and its tests can be refactored in 2.7/3.1, the '_' can be added to the list of chars that are not escaped in 3.3.

I'll put together a patch and fix this unless someone thinks that the '_' should be escaped in 3.3 too.

----------
assignee:  -> ezio.melotti

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2650>
_______________________________________


More information about the Python-bugs-list mailing list