Function difft::words::split_words_and_numbers
source · [−]pub(crate) fn split_words_and_numbers(s: &str) -> Vec<&str>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
Expand description
Split s
into a vec of things that look like words and individual
non-word characters.
“foo..bar23” -> vec![“foo”, “.”, “.”, “bar23”]