From 57deac3c63d4cd82411a58bd1486510e6f1ebcc6 Mon Sep 17 00:00:00 2001 From: moculus Date: Thu, 22 Jan 2009 22:29:11 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- mode/sh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/sh.py b/mode/sh.py index e055265..bfb1357 100644 --- a/mode/sh.py +++ b/mode/sh.py @@ -57,7 +57,7 @@ class CaseGrammar(Grammar): PatternRule(r'comment', r'#.*$'), PatternRule(r'spaces', r' +'), RegionRule(r'stanza', r'.+\\\n$', StanzaGrammar, r'.+\)', Grammar, r';;'), - RegionRule(r'stanza', r'.+\)', Grammar, r';;'), + RegionRule(r'stanza', r'.+?\)', Grammar, r';;'), PatternRule(r'eol', r'\n'), ]