diff --git a/mode/sh.py b/mode/sh.py index 506f86c..8ebc70c 100644 --- a/mode/sh.py +++ b/mode/sh.py @@ -77,7 +77,7 @@ CaseGrammar.rules = [ TestGrammar.rules = [ PatternRule(r'spaces', r' +'), - PatternRule(r'sh_builtin', r"(?'), PatternRule(r'delimiter', r";;|[();{}|&><]"), - RegionRule(r'test', r'test(?![a-zA-Z0-9_=/])', None, r';|\n'), + RegionRule(r'test', r'(?'),