avoid parsing bugs

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2009-05-17 15:45:39 -04:00
parent b92be6cc27
commit dd91be6169
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ TestGrammar.rules = [
PatternRule(r'continuation', r'\\\n$'), PatternRule(r'continuation', r'\\\n$'),
PatternRule(r'redirect', r'<|>'), PatternRule(r'redirect', r'<|>'),
PatternRule(r'delimiter', r";;|[();{}|&><]"), PatternRule(r'delimiter', r";;|[();{}|&><]"),
RegionRule(r'test', r'test', None, r';|\n'), RegionRule(r'test', r'test(?![a-zA-Z0-9_=/])', None, r';|\n'),
RegionRule(r'test2', r'\[\[', None, r'\]\]'), RegionRule(r'test2', r'\[\[', None, r'\]\]'),
RegionRule(r'test3', r'\[', None, r'\]'), RegionRule(r'test3', r'\[', None, r'\]'),
RegionRule(r'eval', r'`', EvalGrammar, r'`'), RegionRule(r'eval', r'`', EvalGrammar, r'`'),