-
-
Save earl/b01575374678f00651d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 0710694cba81 pygments/lexers/other.py | |
--- a/pygments/lexers/other.py Mon Mar 04 08:23:32 2013 +0100 | |
+++ b/pygments/lexers/other.py Fri Apr 05 20:48:06 2013 +0200 | |
@@ -1397,8 +1397,6 @@ | |
(r';.*\n', Comment), | |
(r'%"', Name.Decorator, 'stringFile'), | |
(r'%[^(\^{^")\s\[\]]+', Name.Decorator), | |
- (r'<[a-zA-Z0-9:._-]*>', Name.Tag), | |
- (r'<[^(<>\s")]+', Name.Tag, 'tag'), | |
(r'[+-]?([a-zA-Z]{1,3})?\$\d+(\.\d+)?', Number.Float), # money | |
(r'[+-]?\d+\:\d+(\:\d+)?(\.\d+)?', String.Other), # time | |
(r'\d+\-[0-9a-zA-Z]+\-\d+(\/\d+\:\d+(\:\d+)?' | |
@@ -1415,6 +1413,8 @@ | |
(r'comment\s', Comment, 'comment'), | |
(r'/[^(\^{^")\s/[\]]*', Name.Attribute), | |
(r'([^(\^{^")\s/[\]]+)(?=[:({"\s/\[\]])', word_callback), | |
+ (r'<[a-zA-Z0-9:._-]*>', Name.Tag), | |
+ (r'<[^(<>\s")]+', Name.Tag, 'tag'), | |
(r'([^(\^{^")\s]+)', Text), | |
], | |
'string': [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment