Skip to main content

scan_brace

Function scan_brace 

Source
pub fn scan_brace(src: &str, open: usize) -> Result<usize, HtmlError>
Expand description

Scan the {…} group opening at byte open; returns the index just past its }. String-aware (a "…" may contain braces; \" is an escaped quote) and nesting-aware.