pub fn first_unescaped(s: &str, ch: u8) -> Option<usize>Expand description
Index of the first occurrence of the ASCII byte ch that is not escaped by
an immediately preceding backslash. ch must be ASCII ([ or ] here);
scanning bytes is safe because those never appear inside a UTF-8 multibyte
sequence.