pub fn layer_matches(pattern: &str, id: &str) -> bool
Whether layer id id matches pattern: * matches any run of characters, ? any one; anything else matches itself.
id
pattern
*
?