We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
no-super-linear-backtracking
1 parent 4f34bff commit a98186bCopy full SHA for a98186b
lib/rules/no-super-linear-backtracking.ts
@@ -41,11 +41,11 @@ function getParsedLiteral(context: RegExpContext): ParsedLiteral {
41
start: NaN,
42
end: NaN,
43
dotAll: flags.dotAll ?? false,
44
- global: flags.dotAll ?? false,
45
- ignoreCase: flags.dotAll ?? false,
46
- multiline: flags.dotAll ?? false,
47
- sticky: flags.dotAll ?? false,
48
- unicode: flags.dotAll ?? false,
+ global: flags.global ?? false,
+ ignoreCase: flags.ignoreCase ?? false,
+ multiline: flags.multiline ?? false,
+ sticky: flags.sticky ?? false,
+ unicode: flags.unicode ?? false,
49
},
50
}
51
0 commit comments