You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
match: '-?\\b0[xX]\\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\\d(_?\\d)*i?',// hex without a present digit before . (making a digit afterwards required)
112
+
match: /-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,// hex without a present digit before . (making a digit afterwards required)
113
113
relevance: 0
114
114
},
115
115
{
116
-
match: '-?\\b0[xX](_?[a-fA-F0-9])+((\\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\\d(_?\\d)*)?i?',// hex with a present digit before . (making a digit afterwards optional)
116
+
match: /-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,// hex with a present digit before . (making a digit afterwards optional)
117
117
relevance: 0
118
118
},
119
119
{
120
-
match: '-?\\b0[oO](_?[0-7])*i?',// leading 0o octal
120
+
match: /-?\b0[oO](_?[0-7])*i?/,// leading 0o octal
121
121
relevance: 0
122
122
},
123
123
{
124
-
match: '-?\\.\\d(_?\\d)*([eE][+-]?\\d(_?\\d)*)?i?',// decimal without a present digit before . (making a digit afterwards required)
124
+
match: /-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,// decimal without a present digit before . (making a digit afterwards required)
125
125
relevance: 0
126
126
},
127
127
{
128
-
match: '-?\\b\\d(_?\\d)*(\\.(\\d(_?\\d)*)?)?([eE][+-]?\\d(_?\\d)*)?i?',// decimal with a present digit before . (making a digit afterwards optional)
128
+
match: /-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,// decimal with a present digit before . (making a digit afterwards optional)
0 commit comments