diff --git a/src/r.ts b/src/r.ts index 2caac75e..429a0802 100644 --- a/src/r.ts +++ b/src/r.ts @@ -193,6 +193,7 @@ export const language = { // Recognize positives, negatives, decimals, imaginaries, and scientific notation numbers: [ + [/0[xX][0-9a-fA-F]+/, 'number.hex'], [/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, 'number'] ],