You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .verb.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ The following options may be used with the main `picomatch()` function or any of
107
107
|`keepQuotes`|`boolean`|`false`| Retain quotes in the generated regex, since quotes may also be used as an alternative to backslashes. |
108
108
|`literalBrackets`|`boolean`|`undefined`| When `true`, brackets in the glob pattern will be escaped so that only literal brackets will be matched. |
109
109
|`matchBase`|`boolean`|`false`| Alias for `basename`|
110
-
|`maxLength`|`boolean`|`65536`| Limit the max length of the input string. An error is thrown if the input string is longer than this value. |
110
+
|`maxLength`|`number`|`65536`| Limit the max length of the input string. An error is thrown if the input string is longer than this value. |
111
111
|`nobrace`|`boolean`|`false`| Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters. |
112
112
|`nobracket`|`boolean`|`undefined`| Disable matching with regex brackets. |
113
113
|`nocase`|`boolean`|`false`| Make matching case-insensitive. Equivalent to the regex `i` flag. Note that this option is overridden by the `flags` option. |
@@ -273,7 +273,7 @@ isMatch('baz');
273
273
|**Character**|**Description**|
274
274
| --- | --- |
275
275
|`*`| Matches any character zero or more times, excluding path separators. Does _not match_ path separators or hidden files or directories ("dotfiles"), unless explicitly enabled by setting the `dot` option to `true`. |
276
-
|`**`| Matches any character zero or more times, including path separators. Note that `**` will only match path separators (`/`, and `\\`on Windows) when they are the only characters in a path segment. Thus, `foo**/bar` is equivalent to `foo*/bar`, and `foo/a**b/bar` is equivalent to `foo/a*b/bar`, and _more than two_ consecutive stars in a glob path segment are regarded as _a single star_. Thus, `foo/***/bar` is equivalent to `foo/*/bar`. |
276
+
|`**`| Matches any character zero or more times, including path separators. Note that `**` will only match path separators (`/`, and `\\`with the `windows` option) when they are the only characters in a path segment. Thus, `foo**/bar` is equivalent to `foo*/bar`, and `foo/a**b/bar` is equivalent to `foo/a*b/bar`, and _more than two_ consecutive stars in a glob path segment are regarded as _a single star_. Thus, `foo/***/bar` is equivalent to `foo/*/bar`. |
277
277
|`?`| Matches any character excluding path separators one time. Does _not match_ path separators or leading dots. |
278
278
|`[abc]`| Matches any characters inside the brackets. For example, `[abc]` would match the characters `a`, `b` or `c`, and nothing else. |
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -335,7 +335,7 @@ The following options may be used with the main `picomatch()` function or any of
335
335
| `keepQuotes` | `boolean` | `false` | Retain quotes in the generated regex, since quotes may also be used as an alternative to backslashes. |
336
336
| `literalBrackets` | `boolean` | `undefined` | When `true`, brackets in the glob pattern will be escaped so that only literal brackets will be matched. |
337
337
| `matchBase` | `boolean` | `false` | Alias for `basename` |
338
-
| `maxLength` | `boolean` | `65536` | Limit the max length of the input string. An error is thrown if the input string is longer than this value. |
338
+
| `maxLength` | `number` | `65536` | Limit the max length of the input string. An error is thrown if the input string is longer than this value. |
339
339
| `nobrace` | `boolean` | `false` | Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters. |
| `nocase` | `boolean` | `false` | Make matching case-insensitive. Equivalent to the regex `i` flag. Note that this option is overridden by the `flags` option. |
0 commit comments