fix: match any case hex char

This commit is contained in:
Oliver Booth 2023-08-16 15:17:05 +01:00
parent 1c044a9c96
commit e5fd4b106e
Signed by: oliverbooth
GPG Key ID: B89D139977693FED
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ declare const Prism: any;
Prism.languages.extend('markup', {});
Prism.languages.hex = {
'number': {
pattern: /(?:[a-f0-9]{3}){1,2}\b/i,
pattern: /(?:[a-fA-F0-9]{3}){1,2}\b/i,
lookbehind: true
}
};