fork
This commit is contained in:
20
langs/xhtml/xhtml.txt
Normal file
20
langs/xhtml/xhtml.txt
Normal file
@ -0,0 +1,20 @@
|
||||
### XHTML LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME XHTML
|
||||
VERSION 1.8.0
|
||||
|
||||
COMMENT \<!--.*?--\>
|
||||
# !!! Text containing "" are not strings
|
||||
TEXT:IDENTIFIER (?<=\>)[^\<\>]*(?=\<)
|
||||
ATT_STR:STRING (((?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)'))
|
||||
NOTATION <!.*?>
|
||||
|
||||
HTML_TAG:RESERVED (</?\s*[^<\s>]+\s*>?)|(\s*/?>)
|
||||
|
||||
ATTR:ENTITY [\w-]+(?=\s*=\s*["'])
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
||||
|
||||
# OTHER:CONSTANT (?default:identifier)
|
Reference in New Issue
Block a user