pub fn ends_with_wildcard(pattern: &str) -> bool
Returns true when the last unescaped token is a wildcard.
true