fn occurrences<'a>( text: &'a str, name: &'a str, nocase: bool, ) -> impl Iterator<Item = Range<usize>> + 'a
Every whole-word occurrence of name in text outside strings (ignoring ASCII case when nocase).
name
text
nocase