@@ -35,8 +35,8 @@ Supports these glob features:
3535- [ Posix character
3636 classes] ( https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html ) ,
3737 like ` [[:alpha:]] ` , supporting the full range of Unicode
38- characters. For example, ` [[:alpha:]] ` will match against
39- ` 'é' ` , though ` [a-zA-Z] ` will not. Collating symbol and set
38+ characters. For example, ` [[:alpha:]] ` will match against
39+ ` 'é' ` , though ` [a-zA-Z] ` will not. Collating symbol and set
4040 matching is not supported, so ` [[=e=]] ` will _ not_ match ` 'é' `
4141 and ` [[.ch.]] ` will not match ` 'ch' ` in locales where ` ch ` is
4242 considered a single character.
@@ -131,19 +131,19 @@ var mm = new Minimatch(pattern, options)
131131 method is mainly for internal use, but is exposed so that it can be
132132 used by a glob-walker that needs to avoid excessive filesystem calls.
133133- ` hasMagic() ` Returns true if the parsed pattern contains any
134- magic characters. Returns false if all comparator parts are
135- string literals. If the ` magicalBraces ` option is set on the
134+ magic characters. Returns false if all comparator parts are
135+ string literals. If the ` magicalBraces ` option is set on the
136136 constructor, then it will consider brace expansions which are
137- not otherwise magical to be magic. If not set, then a pattern
137+ not otherwise magical to be magic. If not set, then a pattern
138138 like ` a{b,c}d ` will return ` false ` , because neither ` abd ` nor
139139 ` acd ` contain any special glob characters.
140140
141141 This does ** not** mean that the pattern string can be used as a
142142 literal filename, as it may contain magic glob characters that
143- are escaped. For example, the pattern ` \\* ` or ` [*] ` would not
143+ are escaped. For example, the pattern ` \\* ` or ` [*] ` would not
144144 be considered to have magic, as the matching portion parses to
145145 the literal string ` '*' ` and would match a path named ` '*' ` ,
146- not ` '\\*' ` or ` '[*]' ` . The ` minimatch.unescape() ` method may
146+ not ` '\\*' ` or ` '[*]' ` . The ` minimatch.unescape() ` method may
147147 be used to remove escape characters.
148148
149149All other methods are internal, and will be called as necessary.
@@ -182,7 +182,7 @@ be escaped or unescaped.
182182Un-escape a glob string that may contain some escaped characters.
183183
184184If the ` windowsPathsNoEscape ` option is used, then square-brace
185- escapes are removed, but not backslash escapes. For example, it
185+ escapes are removed, but not backslash escapes. For example, it
186186will turn the string ` '[*]' ` into ` * ` , but it will not turn
187187` '\\*' ` into ` '*' ` , because ` \ ` is a path separator in
188188` windowsPathsNoEscape ` mode.
@@ -261,7 +261,7 @@ This only affects the results of the `Minimatch.hasMagic` method.
261261
262262If the pattern contains brace expansions, such as ` a{b,c}d ` , but
263263no other magic characters, then the ` Minipass.hasMagic() ` method
264- will return ` false ` by default. When this option set, it will
264+ will return ` false ` by default. When this option set, it will
265265return ` true ` for brace expansion as well as other magic glob
266266characters.
267267
0 commit comments