Matthew Barnett added the comment: The help says:
""">>> help(re.escape) Help on function escape in module re: escape(pattern) Escape all the characters in pattern except ASCII letters, numbers and '_'. """ The complementary approach is to escape _only_ the metacharacters. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com