A minimal matching utility options.
This is the matching library used internally by npm. Eventually, it will replace the C binding in node-glob. It works by converting glob expressions into JavaScript RegExp objects.
Dump a ton of stuff to stderr.
Allow patterns to match filenames starting with a period, even if the pattern does not explicitly have a period in that spot.
Returns from negate expressions the same as if they were not negated. (Ie, true on a hit, false on a miss.)
If set, then patterns without slashes will be matched against the basename of the path if it contains slashes. For example, a?b would match the path /xyz/123/acb, but not /xyz/acb/123.
Do not expand {a,b} and {1..3} brace sets.
Perform a case-insensitive match.
Suppress the behavior of treating # at the start of a pattern as a comment.
Disable "extglob" style patterns like +(a|b).
Disable ** matching against multiple folder names.
Suppress the behavior of treating a leading ! character as negation.
When a match is not found by minimatch.match, return a list containing the pattern itself. When set, an empty list is returned if there are no matches.