parent
c4705ef079
commit
ee00958ea1
|
@ -14,7 +14,7 @@ class TagGrammar(Grammar):
|
|||
|
||||
class TemplateGrammar(Grammar):
|
||||
rules = [
|
||||
RegionRule(r'comment', r'#*', Grammar, r'*#'),
|
||||
RegionRule(r'comment', r'#\*', Grammar, r'\*#'),
|
||||
PatternRule(r'comment', r'##.*\n'),
|
||||
PatternRule(r'placeholder', r'\$[a-zA-Z0-9_]+'),
|
||||
PatternRule(r'directive', r'#.*?[#\n]'),
|
||||
|
|
Loading…
Reference in New Issue