String quoting and dequoting support.
Backslash-dequote ‘text’. If ‘chars’ is given, only characters in ‘chars’ are dequoted.
Backslash-quote ‘text’. If ‘chars’ is given, only characters in ‘chars’ are quoted.
Return True if all rl.completer.filename_quote_characters in ‘text’ are backslash-quoted.
Return True if the character at ‘index’ is quoted.
Return a backslash-dequoted version of ‘text’. If ‘quote_char’ is the single-quote, backslash-dequoting is limited to single-quotes.
Return a quote-char quoted version of ‘text’. If ‘single_match’ is False, the quotes are not closed. The default ‘quote_char’ is the first character in rl.completer.quote_characters.
Return a backslash-quoted version of ‘text’. If a ‘quote_char’ is given, behave like quote_string().