Closed mschwager closed 3 years ago
Adding \\ to [^"] avoids overlap with \\. in the branch. Without this the regex can catastrophically backtrack between the two branches.
\\
[^"]
\\.
Adding
\\
to[^"]
avoids overlap with\\.
in the branch. Without this the regex can catastrophically backtrack between the two branches.