pub(crate) fn scan_raw_string<E: Escapee>(
input: &str,
offset: usize,
) -> Result<(Option<String>, u32, usize), ParseError>
Expand description
Reads and checks a raw (byte) string literal, converting \r\n
sequences to
just \n
sequences. Returns an optional new string (if the input contained
any \r\n
) and the number of hashes used by the literal.