]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/dockerfile.yaml
Add support for lookbehind in region regexes
[micro.git] / runtime / syntax / dockerfile.yaml
index 3481dc9a13e408897042217b099dddb98adfe51a..e3efa6041dee665f9b1c6339aad8fe899ba98fa0 100644 (file)
@@ -22,12 +22,13 @@ rules:
 
     - constant.string:
         start: "\""
-        end: "\""
+        end: "(?<!\\\\)\""
         rules:
             - constant.specialChar: "\\\\."
 
     - constant.string:
         start: "'"
-        end: "'"
+        end: "(?<!\\\\)'"
         rules:
             - constant.specialChar: "\\\\."
+