match package:Glob

Matches the given Pattern against the given FilePath, returning True if the pattern matches and False otherwise.
The default set of execution options: closest to the behaviour of the zsh shell. Currently identical to matchPosix.
Allow *, ?, and **/ to match . at the beginning of paths.
Options controlling how matching is performed; see MatchOptions.
Options for POSIX-compliance, as described in man 7 glob. ignoreDotSlash is enabled, the rest are disabled.
Like match, but applies the given MatchOptions instead of the defaults.
Options which can be passed to the matchWith or globDirWith functions: with these you can selectively toggle certain features at matching time.
Whether to include unmatched files in the result.