diff --git a/src/utils/outer-code-matches.ts b/src/utils/outer-code-matches.ts index 277b5fa..5d91425 100644 --- a/src/utils/outer-code-matches.ts +++ b/src/utils/outer-code-matches.ts @@ -45,11 +45,11 @@ enclosedPatterns.push( }, { // Single quote string - match: /'(?:\\.|[^'\\]+)*'/y, + match: /'(?:\\.|[^'\\])*'/y, }, { // Double quote string - match: /"(?:\\.|[^"\\]+)*"/y, + match: /"(?:\\.|[^"\\])*"/y, }, { // Template literal