changed highlighter regexes a bit

This commit is contained in:
Thomas Ave 2016-05-30 22:38:32 +02:00
parent 76ad1c627a
commit 0406aed0ec
2 changed files with 2 additions and 2 deletions

View File

@ -3,4 +3,4 @@ WHITESPACE = [ ]*
ATTRIBUTE = [a-zA-Z0-9-]*[ ]*=?
ATTRIBUTE_CONTENT_DOUBLE_QUOTES = "[^<>"]*"
ATTRIBUTE_CONTENT_SINGLE_QUOTES = '[^<>']*'
BRACKET = [</>]
BRACKET = [</?>]

View File

@ -1,3 +1,3 @@
COMMENT = <!--[^<>]*-->
COMMENT = <!--.*-->
TAG = </?[^<>]*>
CONTENT = [^<>]*