Case-insensitive highlighting of hexadecimal constants

This commit is contained in:
john-batch
2021-08-15 16:00:41 +02:00
committed by Zachary Yedidia
parent 02ef99a3a6
commit c226779aca
10 changed files with 33 additions and 37 deletions

View 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=\"\\?>"