pub fn has_matching_update(updates: &[String], regex: &Regex) -> bool