R. David Murray added the comment:

Good point, re.escape is for literal text you want to insert into a matching 
pattern, but the replacement template isn't a matching pattern.  Do we need a 
different escape function?  I guess the function solution is enough?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30133>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to