pub fn matches(pattern: &str, name: &str) -> bool
Whether name matches pattern (name, or prefix.*).
name
pattern
prefix.*