Lines Matching full:pattern

50 * `!(pattern|pattern|pattern)` Matches anything that does not match
52 * `?(pattern|pattern|pattern)` Matches zero or one occurrence of the
54 * `+(pattern|pattern|pattern)` Matches one or more occurrences of the
57 * `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns
66 then it will not match any glob pattern unless that pattern's
69 For example, the pattern `a/.*/c` would match the file at `a/.b/c`.
70 However the pattern `a/*/c` would not, because `*` does not start with
78 If you set `matchBase:true` in the options, and the pattern has no
86 differs from the shell, where the pattern itself is returned. For
97 * `man bash` (Search for "Pattern Matching")
102 ## glob.hasMagic(pattern, [options])
104 Returns `true` if there are any special characters in the pattern, and
109 pattern. If the pattern has a brace expansion, like `a/{b/c,x/y}`
113 ## glob(pattern, [options], cb)
115 * `pattern` `{String}` Pattern to be matched
119 * `matches` `{Array<String>}` filenames found matching the pattern
123 ## glob.sync(pattern, [options])
125 * `pattern` `{String}` Pattern to be matched
127 * return: `{Array<String>}` filenames found matching the pattern
137 var mg = new Glob(pattern, options, cb)
143 ### new glob.Glob(pattern, [options], [cb])
145 * `pattern` `{String}` pattern to search for
149 * `matches` `{Array<String>}` filenames found matching the pattern
181 then the `matches` list contains the original pattern. The matches
198 Glob to change pattern matching behavior. Also, some have been added,
215 as a glob pattern, so there is no need to escape anything.
220 because it is not tested as a glob pattern, so there is no need
224 are replaced with `/` in the pattern. Note that this makes it
226 pattern characters, but allows matching with patterns constructed
234 Note that an explicit dot in a portion of the pattern will always
236 * `nomount` By default, a pattern starting with a forward-slash will be
262 * `sync` DEPRECATED: use `glob.sync(pattern, opts)` instead.
268 containing the pattern itself. This is the default in glob(3).
277 * `matchBase` Perform a basename-only match if the pattern does not
281 *only* directories, simply put a `/` at the end of the pattern.)
282 * `ignore` Add a pattern or an array of glob patterns to exclude matches.
313 pattern. This prevents infinite loops and duplicates and the like.
315 If an escaped pattern has no matches, and the `nonull` flag is set,
316 then glob returns the pattern as-provided, rather than
320 that it does not resolve escaped pattern characters.
323 other interpretation of the glob pattern. Thus, a pattern like
330 Previously, this module let you mark a pattern as a "comment" if it
331 started with a `#` character, or a "negated" pattern if it started
351 To automatically coerce all `\` characters to `/` in pattern