Skip to main content

for_each_word_run

Function for_each_word_run 

Source
fn for_each_word_run(text: &str, f: impl FnMut(CharClass, Range<usize>))
Expand description

Calls f on every maximal run of word characters of the same class.