[issue2650] re.escape should not escape underscore

Antoine Pitrou report at bugs.python.org
Sat Jun 28 21:20:20 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

> The escaped regexp is not utf-8 (why should it be?)

I suppose it is annoying if you want to print the escaped regexp for
debugging purposes.

Anyway, I suppose someone should really decide if improving re.escape is
worth it, and if not, close the bug.

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


More information about the Python-bugs-list mailing list