diff --git a/mode/elisp.py b/mode/elisp.py index d007efc..f66a937 100644 --- a/mode/elisp.py +++ b/mode/elisp.py @@ -8,7 +8,7 @@ class StringGrammar(Grammar): rules = [ PatternRule(r'octal', r'\\[0-7]{3}'), PatternRule(r'escaped', r'\\.'), - PatternRule(r'escaped', r'[^\\]+'), + PatternRule(r'data', r'[^\\"]+'), ] class ELispGrammar(Grammar):