diff options
-rw-r--r-- | pygments/lexers/other.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pygments/lexers/other.py b/pygments/lexers/other.py index 177ee351..aa0913c1 100644 --- a/pygments/lexers/other.py +++ b/pygments/lexers/other.py @@ -3811,8 +3811,8 @@ class PanLexer(RegexLexer): tokens = { 'root': [ include('basic'), - (r'\$\(', Keyword, 'paren'), - (r'\${#?', Keyword, 'curly'), + (r'\(', Keyword, 'paren'), + (r'{', Keyword, 'curly'), include('data'), ], 'basic': [ @@ -3841,7 +3841,6 @@ class PanLexer(RegexLexer): (r'\s+', Text), (r'[^=\s\[\]{}()$"\'`\\]+', Text), (r'\d+(?= |\Z)', Number), - (r'\$#?(\w+|.)', Name.Variable), ], 'curly': [ (r'}', Keyword, '#pop'), |