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