diff options
Diffstat (limited to 'pygments/lexers/shell.py')
-rw-r--r-- | pygments/lexers/shell.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/shell.py b/pygments/lexers/shell.py index b4d81446..3973afa5 100644 --- a/pygments/lexers/shell.py +++ b/pygments/lexers/shell.py @@ -87,7 +87,7 @@ class BashLexer(RegexLexer): include('interp'), ], 'curly': [ - (r'}', String.Interpol, '#pop'), + (r'\}', String.Interpol, '#pop'), (r':-', Keyword), (r'\w+', Name.Variable), (r'[^}:"\'`$\\]+', Punctuation), @@ -322,7 +322,7 @@ class TcshLexer(RegexLexer): (r'\$#?(\w+|.)', Name.Variable), ], 'curly': [ - (r'}', Keyword, '#pop'), + (r'\}', Keyword, '#pop'), (r':-', Keyword), (r'\w+', Name.Variable), (r'[^}:"\'`$]+', Punctuation), |