fn search_pattern_of(search: &str) -> String
Lowercased and with metacharacters escaped, so a search for % matches a literal one.
%