CodeQL library for Python
codeql/python-all 0.12.1 (changelog, source)
Search

Predicate escape

Gets the result of backslash-escaping newlines, carriage-returns, backslashes, and unicode characters in s.

Import path

import codeql.util.Strings
string escape(string s)