Merge pull request #21 from sdllc/master

Add hex number tokenization to R language
pull/2748/head
Peng Lyu 8 years ago committed by GitHub
commit 950b513448

@ -193,6 +193,7 @@ export const language = <ILanguage>{
// Recognize positives, negatives, decimals, imaginaries, and scientific notation
numbers: [
[/0[xX][0-9a-fA-F]+/, 'number.hex'],
[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, 'number']
],

Loading…
Cancel
Save