Antoine Pitrou <pitrou at free.fr> added the comment: Actually, re.escape is probably still needed around name. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11258> _______________________________________