pub fn scan_code_span(subject: &str, pos: usize) -> Option<CodeSpanScan>Expand description
The code span starting at pos: a backtick string to the next backtick
string of exactly the same length. None when no backtick run starts
at pos.
Hand-coded rather than the TypeScript’s sticky and global regexes, so that no regex is built from an input-derived run length.