pub fn key_match2(key1: &str, key2: &str) -> bool