fn filter_candidates( candidates: &[&str], prefix: &str, uppercase: bool, ) -> Vec<Pair>
Filter candidates by prefix, returning matching Pairs.
Pair