diff options
-rw-r--r-- | pygments/lexers/templates.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py index 0d19e94c..64dad6f0 100644 --- a/pygments/lexers/templates.py +++ b/pygments/lexers/templates.py @@ -250,11 +250,11 @@ class MyghtyLexer(RegexLexer): (r'''(?sx) (.+?) # anything, followed by: (?: - (?<=\n)(?=[%#]) | # an eval or comment line + (?<=\n)(?=[%#]) | # an eval or comment line (?=</?[%&]) | # a substitution or block or # call start or end # - don't consume - (\\\n) | # an escaped newline + (\\\n) | # an escaped newline \Z # end of string ) ''', bygroups(Other, Operator)), |