File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -250,16 +250,16 @@ endif
250250" Numbers {{{
251251" ===========
252252
253- syn match pythonHexError " \< 0[xX]\x *[g-zG-Z]\x *[lL]\=\> " display
254- syn match pythonHexNumber " \< 0[xX]\x \+ [lL]\=\> " display
255- syn match pythonOctNumber " \< 0[oO]\o \+ [lL]\=\> " display
256- syn match pythonBinNumber " \< 0[bB][01 ]\+ [lL]\=\> " display
257- syn match pythonNumber " \<\d \+ [lLjJ]\=\> " display
258- syn match pythonFloat " \.\d\ +\( [eE][+-]\=\d \+\)\= [jJ]\=\> " display
259- syn match pythonFloat " \<\d\ + [eE][+-]\=\d \+ [jJ]\=\> " display
260- syn match pythonFloat " \<\d\ +\.\d *\( [eE][+-]\=\d \+\)\= [jJ]\= " display
261- syn match pythonOctError " \< 0[oO]\=\o *[8-9]\d *[lL]\=\> " display
262- syn match pythonBinError " \< 0[bB][01 ]*[2-9]\d *[lL]\=\> " display
253+ syn match pythonHexError " \< 0[xX][0-9a-fA-F_] *[g-zG-Z][0-9a-fA-F_] *[lL]\=\> " display
254+ syn match pythonHexNumber " \< 0[xX][0-9a-fA-F_] \+ [lL]\=\> " display
255+ syn match pythonOctNumber " \< 0[oO][0-7_] \+ [lL]\=\> " display
256+ syn match pythonBinNumber " \< 0[bB][01_ ]\+ [lL]\=\> " display
257+ syn match pythonNumber " \< [0-9_] \+ [lLjJ]\=\> " display
258+ syn match pythonFloat " \. [0-9_] \ +\( [eE][+-]\= [0-9_] \+\)\= [jJ]\=\> " display
259+ syn match pythonFloat " \< [0-9_] \ + [eE][+-]\= [0-9_] \+ [jJ]\=\> " display
260+ syn match pythonFloat " \< [0-9_] \ +\.[0-9_] *\( [eE][+-]\= [0-9_] \+\)\= [jJ]\= " display
261+ syn match pythonOctError " \< 0[oO]\= [0-7_] *[8-9][0-9_] *[lL]\=\> " display
262+ syn match pythonBinError " \< 0[bB][01_ ]*[2-9][0-9_] *[lL]\=\> " display
263263
264264" }}}
265265
You can’t perform that action at this time.
0 commit comments