File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ color brightmagenta "\<(false|nil|true)\>"
53
53
color brightgreen " (\< (dofile| require| include)| %q| %!| %Q| %r| %x)\> "
54
54
55
55
# Numbers (hex and decimal with scientific notation)
56
- # color red "\<(0[xX](([0-9A-Fa-f]+\.[0-9A-Fa-f]*)|(\.?[0-9A-Fa-f]+))([pP][-+]?[0-9]+)?)\>"
57
- # color red "\<((([0-9]+\.[0-9]*)|(\.?[0-9]+))([eE][-+]?[0-9]+)?)\>"
58
- color red " \< ((0[xX ](([0 -9A -Fa -f ]+ \. [0 -9A -Fa -f ]* )| (\. ? [0 -9A -Fa -f ]+ ))([pP ][- + ]? [0 -9 ]+ )? )| ((([0 -9 ]+ \. [0 -9 ]* )| (\. ? [0 -9 ]+ ))([eE ][- + ]? [0 -9 ]+ )? ))\> "
56
+ # color magenta "\<(0[xX](([0-9A-Fa-f]+\.[0-9A-Fa-f]*)|(\.?[0-9A-Fa-f]+))([pP][-+]?[0-9]+)?)\>"
57
+ # color magenta "\<((([0-9]+\.[0-9]*)|(\.?[0-9]+))([eE][-+]?[0-9]+)?)\>"
58
+ color magenta " \< ((0[xX ](([0 -9A -Fa -f ]+ \. [0 -9A -Fa -f ]* )| (\. ? [0 -9A -Fa -f ]+ ))([pP ][- + ]? [0 -9 ]+ )? )| ((([0 -9 ]+ \. [0 -9 ]* )| (\. ? [0 -9 ]+ ))([eE ][- + ]? [0 -9 ]+ )? ))\> "
59
59
60
60
# Symbols
61
61
color brightmagenta " (\( | \) | \[ | \] | \{ | \} )"
@@ -67,7 +67,7 @@ color red "\"(\\.|[^\\\"])*\"|'(\\.|[^\\'])*'"
67
67
color red start =" \s * \[\[ " end =" \]\] "
68
68
69
69
# Escapes
70
- # color red "\\[0-7] [0-7][0-7]|\\ x[0-9a-fA-F][0-9a-fA-F]|\\[abefnrs]|(\\c|\\C-|\\M-|\\M-\\C-). "
70
+ color magenta " \\ ([ abfnrtvz' \" ] | [0 -9 ] { 1 , 3 } | x[0 -9a -fA -F ][0 -9a -fA -F ]| u \{ [ 0 - 9a - fA - F ] + \} ) "
71
71
72
72
# Shebang
73
73
color brightcyan " ^ #!. * "
You can’t perform that action at this time.
0 commit comments