You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use special lexer rules for escapes; fixes catastrophic backtracking,
and highlights them too. (Also change Operator to Punctuation for the
key/value separator.)
Fixespygments#2356
Use special lexer rules for escapes; fixes catastrophic backtracking,
and highlights them too. (Also change Operator to Punctuation for the
key/value separator.)
Fixespygments#2356
jeanas
added a commit
to jeanas/pygments
that referenced
this issue
Apr 17, 2023
The following pattern is inefficient:
r'([ \f\t]*)([=:]*)([ \f\t]*)(.*(?<!\\)(?:\\{2})*)(\\)(?!\\)$
https://github.com/pygments/pygments/blob/master/pygments/lexers/configs.py#L141
The text was updated successfully, but these errors were encountered: