|
@@ -211,20 +211,20 @@ if exists("python_highlight_doctests") && python_highlight_doctests != 0
|
211
|
211
|
endif
|
212
|
212
|
|
213
|
213
|
" Numbers (ints, longs, floats, complex)
|
214
|
|
-syn match pythonHexError "\<0[xX]\x*[g-zG-Z]\x*[lL]\=\>" display
|
|
214
|
+syn match pythonHexError "\<0[xX]\x*[g-zG-Z]\x*\>" display
|
215
|
215
|
|
216
|
|
-syn match pythonHexNumber "\<0[xX]\x\+[lL]\=\>" display
|
217
|
|
-syn match pythonOctNumber "\<0[oO]\o\+[lL]\=\>" display
|
218
|
|
-syn match pythonBinNumber "\<0[bB][01]\+[lL]\=\>" display
|
|
216
|
+syn match pythonHexNumber "\<0[xX]\x\+\>" display
|
|
217
|
+syn match pythonOctNumber "\<0[oO]\o\+\>" display
|
|
218
|
+syn match pythonBinNumber "\<0[bB][01]\+\>" display
|
219
|
219
|
|
220
|
|
-syn match pythonNumber "\<\d\+[lLjJ]\=\>" display
|
|
220
|
+syn match pythonNumber "\<\d\+[jJ]\=\>" display
|
221
|
221
|
|
222
|
222
|
syn match pythonFloat "\.\d\+\([eE][+-]\=\d\+\)\=[jJ]\=\>" display
|
223
|
223
|
syn match pythonFloat "\<\d\+[eE][+-]\=\d\+[jJ]\=\>" display
|
224
|
224
|
syn match pythonFloat "\<\d\+\.\d*\([eE][+-]\=\d\+\)\=[jJ]\=" display
|
225
|
225
|
|
226
|
|
-syn match pythonOctError "\<0[oO]\=\o*[8-9]\d*[lL]\=\>" display
|
227
|
|
-syn match pythonBinError "\<0[bB][01]*[2-9]\d*[lL]\=\>" display
|
|
226
|
+syn match pythonOctError "\<0[oO]\=\o*[8-9]\d*\>" display
|
|
227
|
+syn match pythonBinError "\<0[bB][01]*[2-9]\d*\>" display
|
228
|
228
|
|
229
|
229
|
if exists("python_highlight_builtins") && python_highlight_builtins != 0
|
230
|
230
|
" Builtin functions, types and objects
|