fix: match any case hex char
This commit is contained in:
parent
1c044a9c96
commit
e5fd4b106e
|
@ -12,7 +12,7 @@ declare const Prism: any;
|
||||||
Prism.languages.extend('markup', {});
|
Prism.languages.extend('markup', {});
|
||||||
Prism.languages.hex = {
|
Prism.languages.hex = {
|
||||||
'number': {
|
'number': {
|
||||||
pattern: /(?:[a-f0-9]{3}){1,2}\b/i,
|
pattern: /(?:[a-fA-F0-9]{3}){1,2}\b/i,
|
||||||
lookbehind: true
|
lookbehind: true
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue