]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/toml.yaml
Merge pull request #1242 from dwwmmn/dwwmmn-erl
[micro.git] / runtime / syntax / toml.yaml
index e12380263f1da8ebe9b5ad10bde2a6c082cf5ea5..dcbc1254ecf2ad85f56667824b4c327a3662917a 100644 (file)
@@ -16,13 +16,15 @@ rules:
 
     - constant.string:
         start: "\""
-        end: "(?<!\\\\)\""
+        end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
 
     - constant.string:
         start: "'"
-        end: "(?<!\\\\)'"
+        end: "'"
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."