parent
034bfaa052
commit
9b18e28ff7
|
@ -21,7 +21,7 @@ class TagGrammar(Grammar):
|
|||
rules = [
|
||||
PatternRule(r'attrname', r'[a-zA-Z_][a-zA-Z0-9_]+(?==)'),
|
||||
PatternRule(r'namespace', r'[a-zA-Z_]+(?=:)'),
|
||||
PatternRule(r'name', r'[a-zA-Z_][a-zA-Z0-9_]+'),
|
||||
PatternRule(r'name', r'[a-zA-Z_][a-zA-Z0-9_]*'),
|
||||
PatternRule(r'delimiter', r'[/=]'),
|
||||
RegionRule(r'string', r'"', StringGrammar1, r'"'),
|
||||
RegionRule(r'string', r"'", StringGrammar2, r"'"),
|
||||
|
|
Loading…
Reference in New Issue