]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/dart.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / dart.yaml
index 1c9b933235b29add8d6f0d3dc992a3c3db98f2be..5409d0524ab078cd2f6879d84c1bd02acbe84709 100644 (file)
@@ -32,13 +32,15 @@ rules:
 
     - constant.string:
         start: "\""
-        end: "(?<!\\\\)\""
+        end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
 
     - constant.string:
         start: "'"
-        end: "(?<!\\\\)'"
+        end: "'"
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."