]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/xml.micro
Update docs and add some comments
[micro.git] / runtime / syntax / xml.micro
index 25c533a1795996eafbae2a958ca1ddfe65683d65..fcddc5de00153e4e79ae647bd05aea2f849343b6 100644 (file)
@@ -1,12 +1,11 @@
 ## Here is an example for xml files.
 ##
 
-syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng)$"
+syntax "xml" "\.([jrs]?html?|xml|sgml?|rng|plist)$"
 color white "^.+$"
-color green  (s) "<.*?>"
+color green  start="<" end=">"
 color cyan   "<[^> ]+"
 color cyan   ">"
-color yellow (s) "<!DOCTYPE.*?[/]?>"
-color yellow (s) "<!--.*?-->"
+color yellow start="<!DOCTYPE" end="[/]?>"
+color yellow start="<!--" end="-->"
 color red    "&[^;]*;"
-