|
@@ -36,14 +36,14 @@ |
|
|
block discarded – undo |
|
36
|
36
|
new OpenRule(new RegexMatcher('/(<[\w\.-]+)[:\/>:\s]/')), |
|
37
|
37
|
new CloseRule(new SubStringMatcher('>'), ['context' => ['!string', '!comment']]) |
|
38
|
38
|
], |
|
39
|
|
- 'tag.close' => new Rule(new RegexMatcher('/(<\/' . self::IDENTIFIER . '>)/')), |
|
|
39
|
+ 'tag.close' => new Rule(new RegexMatcher('/(<\/'.self::IDENTIFIER.'>)/')), |
|
40
|
40
|
|
|
41
|
|
- 'symbol.tag' => new Rule(new RegexMatcher('/<\\/?' . self::IDENTIFIER . '/', [ |
|
|
41
|
+ 'symbol.tag' => new Rule(new RegexMatcher('/<\\/?'.self::IDENTIFIER.'/', [ |
|
42
|
42
|
'name' => Token::NAME, |
|
43
|
43
|
'namespace' => '$.namespace' |
|
44
|
44
|
]), ['context' => ['tag', '!string']]), |
|
45
|
45
|
|
|
46
|
|
- 'symbol.attribute' => new Rule(new RegexMatcher('/' . self::IDENTIFIER . '=/', [ |
|
|
46
|
+ 'symbol.attribute' => new Rule(new RegexMatcher('/'.self::IDENTIFIER.'=/', [ |
|
47
|
47
|
'name' => Token::NAME, |
|
48
|
48
|
'namespace' => '$.namespace' |
|
49
|
49
|
]), ['context' => ['tag', '!string']]), |
Please login to merge, or discard this patch.