[issue2650] re.escape should not escape underscore

Antoine Pitrou report at bugs.python.org
Sat Jun 14 17:28:53 CEST 2008


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

Talking about performance, why use a loop to escape special characters
when you could use a regular expression to escape them all at once?

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list