diff options
author | Georg Brandl <georg@python.org> | 2014-01-09 17:28:59 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-01-09 17:28:59 +0100 |
commit | 5e18204f68d92d3926ea43b85bccc49dc3ab57d1 (patch) | |
tree | e8c9b843259df6eaab51647012a32f3d9a3140dc /pygments/lexers/shell.py | |
parent | f18a03187c7ddaec0330ece20bbfef1b116f31ac (diff) | |
parent | e6aa1888047f589f1f57e417702ed01683869214 (diff) | |
download | pygments-5e18204f68d92d3926ea43b85bccc49dc3ab57d1.tar.gz |
Merged in thomasvandoren/pygments-main (pull request #256)
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 01563ab7..8a50d970 100644 --- a/pygments/lexers/shell.py +++ b/pygments/lexers/shell.py @@ -47,8 +47,8 @@ class BashLexer(RegexLexer): ], 'basic': [ (r'\b(if|fi|else|while|do|done|for|then|return|function|case|' - r'select|continue|until|esac|elif)\s*\b', - Keyword), + r'select|continue|until|esac|elif)(\s*)\b', + bygroups(Keyword, Text)), (r'\b(alias|bg|bind|break|builtin|caller|cd|command|compgen|' r'complete|declare|dirs|disown|echo|enable|eval|exec|exit|' r'export|false|fc|fg|getopts|hash|help|history|jobs|kill|let|' |