From 77d6d64602517cd089266bbd73c75952c3bde24d Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Thu, 23 Sep 2010 22:34:11 -0400 Subject: [PATCH] fix some of the worst sh bugs --HG-- branch : pmacs2 --- mode/sh.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'(?'),