Skip to main content

unicode_word_ranges

Function unicode_word_ranges 

pub fn unicode_word_ranges(text: &str) -> IntoIter<Range<usize>>
Expand description

Return Unicode word-like spans in original UTF-8 byte coordinates. Uses the same ICU segmentation as toolkit word selection and movement.