@@ -115,23 +115,23 @@ patterns:
115
115
116
116
- comment : A float literal
117
117
name : constant.numeric.float.decimal.nim
118
- match : (?<![\w\x{80}-\x{10FFFF}])(\ d[_\d]*((\.[_\d]+([eE][\+\-]?\d[_\d]*)?)|([eE][\+\-]?\d[_\d]*)))('?([fF](32|64|128) )|[fFdD])? # ' highlight-flaw-fixer-comment
118
+ match : (\ d[_\d]*((\.[_\d]+([eE][\+\-]?\d[_\d]*)?)|([eE][\+\-]?\d[_\d]*)))('?([fF]\d )|[fFdD])? # ' highlight-flaw-fixer-comment
119
119
120
120
- comment : A hexadecimal literal
121
121
name : constant.numeric.integer.hexadecimal.nim
122
- match : (?<![\w\x{80}-\x{10FFFF}])( 0[xX]\h[_\h]*)('?(([iIuUfF](8|16|32|64) )|[uUfFdD]))? # ' highlight-flaw-fixer-comment
122
+ match : (0[xX]\h[_\h]*)('?(([iIuUfF]\d )|[uUfFdD]))? # ' highlight-flaw-fixer-comment
123
123
124
124
- comment : A base-8 integer literal
125
125
name : constant.numeric.integer.octal.nim
126
- match : (?<![\w\x{80}-\x{10FFFF}])( 0[ocC][0-7][_0-7]*)('?(([iIuUfF](8|16|32|64) )|[uUfFdD]))? # ' highlight-flaw-fixer-comment
126
+ match : (0[ocC][0-7][_0-7]*)('?(([iIuUfF]\d )|[uUfFdD]))? # ' highlight-flaw-fixer-comment
127
127
128
128
- comment : A base-2 integer literal
129
129
name : constant.numeric.integer.binary.nim
130
- match : (?<![\w\x{80}-\x{10FFFF}])( 0(b|B)[01][_01]*)('?(([iIuUfF](8|16|32|64) )|[uUfFdD]))? # ' highlight-flaw-fixer-comment
130
+ match : (0(b|B)[01][_01]*)('?(([iIuUfF]\d )|[uUfFdD]))? # ' highlight-flaw-fixer-comment
131
131
132
132
- comment : A base-10 integer literal
133
133
name : constant.numeric.integer.decimal.nim
134
- match : (?<![\w\x{80}-\x{10FFFF}])(\ d[_\d]*)('?(([iIuUfF](8|16|32|64) )|[uUfFdD]))? # ' highlight-flaw-fixer-comment
134
+ match : (\ d[_\d]*)('?(([iIuUfF]\d )|[uUfFdD]))? # ' highlight-flaw-fixer-comment
135
135
136
136
- comment : Language Constants.
137
137
name : constant.language.nim
0 commit comments