pub fn match_name(pattern: &str, name: &str) -> bool
fnmatch over one path segment: *, ?, […].
*
?
[…]