pub fn glob_matches(pattern: &str, id: &str) -> bool
Exact match, or prefix.* where the trailing * matches the rest of the id.
prefix.*
*