File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -631,7 +631,7 @@ repository:
631
631
632
632
numeric-literal :
633
633
name : constant.numeric.ts
634
- match : \b(?<=[^$])((0(x|X)[0-9a-fA-F]+)|(([0-9]+(\.[0-9]+)?))(e [0-9]+(\.[0-9]+)?)?)\b
634
+ match : \b(?<=[^$])((0(x|X)[0-9a-fA-F]+)|(([0-9]+(\.[0-9]+)?))([eE]([+-]?) [0-9]+(\.[0-9]+)?)?)\b
635
635
636
636
boolean-literal :
637
637
name : constant.language.boolean.ts
Original file line number Diff line number Diff line change 869
869
<key >numeric-literal </key >
870
870
<dict >
871
871
<key >match </key >
872
- <string >\b(?< =[^$])((0(x|X)[0-9a-fA-F]+)|(([0-9]+(\.[0-9]+)?))(e [0-9]+(\.[0-9]+)?)?)\b </string >
872
+ <string >\b(?< =[^$])((0(x|X)[0-9a-fA-F]+)|(([0-9]+(\.[0-9]+)?))([eE]([+-]?) [0-9]+(\.[0-9]+)?)?)\b </string >
873
873
<key >name </key >
874
874
<string >constant.numeric.ts </string >
875
875
</dict >
Original file line number Diff line number Diff line change @@ -619,7 +619,7 @@ repository:
619
619
620
620
numeric-literal :
621
621
name : constant.numeric.tsx
622
- match : \b(?<=[^$])((0(x|X)[0-9a-fA-F]+)|(([0-9]+(\.[0-9]+)?))(e [0-9]+(\.[0-9]+)?)?)\b
622
+ match : \b(?<=[^$])((0(x|X)[0-9a-fA-F]+)|(([0-9]+(\.[0-9]+)?))([eE]([+-]?) [0-9]+(\.[0-9]+)?)?)\b
623
623
624
624
boolean-literal :
625
625
name : constant.language.boolean.tsx
Original file line number Diff line number Diff line change 1235
1235
<key >numeric-literal </key >
1236
1236
<dict >
1237
1237
<key >match </key >
1238
- <string >\b(?< =[^$])((0(x|X)[0-9a-fA-F]+)|(([0-9]+(\.[0-9]+)?))(e [0-9]+(\.[0-9]+)?)?)\b </string >
1238
+ <string >\b(?< =[^$])((0(x|X)[0-9a-fA-F]+)|(([0-9]+(\.[0-9]+)?))([eE]([+-]?) [0-9]+(\.[0-9]+)?)?)\b </string >
1239
1239
<key >name </key >
1240
1240
<string >constant.numeric.tsx </string >
1241
1241
</dict >
You can’t perform that action at this time.
0 commit comments