From ca92a4eda2285568889e0e1e873787ca260b02bc Mon Sep 17 00:00:00 2001 From: Bernardo <1529139+ghbob@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:24:10 +0200 Subject: [PATCH] no-regexp-lookbehind.js - fix negative lookbehind pattern --- lib/rules/no-regexp-lookbehind.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rules/no-regexp-lookbehind.js b/lib/rules/no-regexp-lookbehind.js index 8c1c8f0..cbdf62b 100644 --- a/lib/rules/no-regexp-lookbehind.js +++ b/lib/rules/no-regexp-lookbehind.js @@ -1,6 +1,6 @@ 'use strict'; -const hasLookbehind = s => s.includes('(?<=') || s.includes('(? s.includes('(?<=') || s.includes('(? ({ 'Literal[regex]'(node) {