pub fn str_has_selection_group(s: &str) -> bool