From 9b18e28ff706e49397f9ed72886669c9ff695b19 Mon Sep 17 00:00:00 2001 From: moculus Date: Sun, 9 Nov 2008 00:15:33 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- mode/xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/xml.py b/mode/xml.py index f728d30..cf9c8e4 100644 --- a/mode/xml.py +++ b/mode/xml.py @@ -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"'"),