Lines Matching full:pattern

58 var mm = new Minimatch(pattern, options)
63 * `pattern` The original pattern the minimatch object represents.
67 array corresponds to a brace-expanded pattern. Each item in the row
68 corresponds to a single path-part. For example, the pattern
74 If a portion of the pattern doesn't have any "magic" in it
80 expressing the entire pattern. This is useful in cases where you wish
81 to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.
82 * `negate` True if the pattern is negated.
83 * `comment` True if the pattern is a comment.
84 * `empty` True if the pattern is `""`.
89 Will return `false` if the pattern is invalid.
90 * `match(fname)` Return true if the filename matches the pattern, or
99 ### minimatch(path, pattern, options)
101 Main export. Tests a path against the pattern using the options.
107 ### minimatch.filter(pattern, options)
116 ### minimatch.match(list, pattern, options)
120 options.nonull is set, then return a list containing the pattern itself.
126 ### minimatch.makeRe(pattern, options)
128 Make a regular expression object from the pattern.
149 the pattern does not explicitly have a period in that spot.
165 the pattern itself if this option is set. When not set, an empty list
176 Suppress the behavior of treating `#` at the start of a pattern as a
190 Compare a partial path to a pattern. As long as the parts of the path that
191 are present are not contradicted by the pattern, it will be treated as a
208 the pattern. Note that this makes it **impossible** to match
209 against paths containing literal glob pattern characters, but
225 If the pattern starts with a `!` character, then it is negated. Set the
228 pattern with a negative extglob pattern like `!(a|B)`. Multiple `!`
229 characters at the start of a pattern will negate the pattern multiple
232 If a pattern starts with `#`, then it is treated as a comment, and
242 If an escaped pattern has no matches, and the `nonull` flag is set,
243 then minimatch.match returns the pattern as-provided, rather than
247 that it does not resolve escaped pattern characters.
250 other interpretation of the glob pattern. Thus, a pattern like