re.escape(string)
Escape all the characters in pattern except ASCII letters, numbers and '_'. This is useful if you want to match an arbitrary literal string that may have regular expression metacharacters in it.
Changed in version 3.3: The '_' character is no longer escaped.
Please login to continue.