summaryrefslogtreecommitdiff
path: root/std/path/glob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/path/glob.ts')
-rw-r--r--std/path/glob.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/std/path/glob.ts b/std/path/glob.ts
index d8eb1d95d..fde2fe8e2 100644
--- a/std/path/glob.ts
+++ b/std/path/glob.ts
@@ -316,7 +316,6 @@ export function globToRegExp(
/** Test whether the given string is a glob */
export function isGlob(str: string): boolean {
const chars: Record<string, string> = { "{": "}", "(": ")", "[": "]" };
- /* eslint-disable-next-line max-len */
const regex =
/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;