~ package:filemanip

Return True if the current file's name matches the given GlobPattern.
Match a file name against a glob pattern.
Return True if the current file's name does not match the given GlobPattern.
Match a file name against a glob pattern, but return True if the match fails.