Matthew Barnett added the comment:

The function solution does have a larger overhead than a literal.

Could the template be made more accepting of backslashes without breaking 
anything? (There's also issue29995 "re.escape() escapes too much", which might 
help.)

----------

_______________________________________
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