diff options
author | Tim Hatch <tim@timhatch.com> | 2014-05-15 17:00:11 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-05-15 17:00:11 -0700 |
commit | 860bff820e92283aaee4bac1e09a7becfc9f61e8 (patch) | |
tree | 652c0bbca42a3dcdf5294505adfef2da944a22d7 /pygments/lexers/shell.py | |
parent | 9daec978bb255a76890cfa7c977b504a0e4fe4a4 (diff) | |
parent | 919938e38d438dbcba6ed64423fd8f7375a0f59e (diff) | |
download | pygments-860bff820e92283aaee4bac1e09a7becfc9f61e8.tar.gz |
Merged in andyli/pygments-main (pull request #354)
Haxe fixes
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 f809dae9..13201912 100644 --- a/pygments/lexers/shell.py +++ b/pygments/lexers/shell.py @@ -79,7 +79,7 @@ class BashLexer(RegexLexer): 'curly': [ (r'}', Keyword, '#pop'), (r':-', Keyword), - (r'[a-zA-Z0-9_]+', Name.Variable), + (r'\w+', Name.Variable), (r'[^}:"\'`$]+', Punctuation), (r':', Punctuation), include('root'), @@ -314,7 +314,7 @@ class TcshLexer(RegexLexer): 'curly': [ (r'}', Keyword, '#pop'), (r':-', Keyword), - (r'[a-zA-Z0-9_]+', Name.Variable), + (r'\w+', Name.Variable), (r'[^}:"\'`$]+', Punctuation), (r':', Punctuation), include('root'), |