diff options
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/lexers/web.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py index 2e2a5182..51063e96 100644 --- a/pygments/lexers/web.py +++ b/pygments/lexers/web.py @@ -1212,7 +1212,8 @@ class HaxeLexer(ExtendedRegexLexer): 'string-single-interpol': [ (r'\$\{', String.Interpol, ('string-interpol-close', 'expr')), - (r'\$', String.Interpol, 'ident'), + (r'\$\$', String.Escape), + (r'\$(?=' + ident + ')', String.Interpol, 'ident'), include('string-single'), ], |