pub fn scan_str<'a>( s: &'a str, f: impl FnMut(&Iterator<'a>) -> bool, ) -> Option<Error>
Like scan, but accepts &str directly.
scan
&str