]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/php.yaml
Case-insensitive highlighting of hexadecimal constants
[micro.git] / runtime / syntax / php.yaml
index a4e20dec3b0d19ecff132e65889a04d9d2a8bd44..7488be3c0ddce60435893d7b4e90aa5cea869c17 100644 (file)
@@ -12,7 +12,7 @@ rules:
     - special: "&[^;[[:space:]]]*;"
     - symbol: "[:=]"
     - identifier: "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
-    - constant.number: "(?i)#[0-9A-F]{6,6}"
+    - constant.number: "(?i)#[0-9a-fA-F]{6,6}"
     - constant.string.url: "(ftp(s)?|http(s)?|git|chrome)://[^         ]+"
     - comment: "<!--.+?-->"
     - default: "<\\?(php|=)\" end=\"\\?>"