pub fn holds_word(list: &[String], text: &str) -> boolExpand description
Whether a folded text holds one of a list’s words as a whole word, as
docs/words.md says words are matched: no letter or digit right before it,
nor right after, where the word itself begins or ends with one (“du” in
“part du 01…”, never in “durée”; “de :” before anything). A word added in
[words] is trimmed, and needs no spaces. The voicemail’s callers’ leads
and the sites’ call words are read so.