Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
escape in datafusion_rustyline::completion - Rust
[go: Go Back, main page]

Function escape

Source
pub fn escape(
    input: String,
    esc_char: Option<char>,
    break_chars: &BTreeSet<char>,
) -> String
Expand description

Escape any break_chars in input string with esc_char. For example, ‘/User Information’ becomes ‘/User\ Information’ when space is a breaking char and ‘\’ the escape char.