diff --git a/mode/sh.py b/mode/sh.py index 18e0a6f..506f86c 100644 --- a/mode/sh.py +++ b/mode/sh.py @@ -48,7 +48,7 @@ EvalGrammar.rules = [ PatternRule(r'variable', r"\${(?:" + word + "|\?\$)}"), PatternRule(r"variable", r"\$" + word), PatternRule(r'variable', r"\$(?=\()"), - PatternRule(r'data', r'[^\\`$]+'), + PatternRule(r'data', r'[^\\`$\'"]+'), ] NevalGrammar.rules = [