tweaks: fuse two regexes into one

This commit is contained in:
Benno Schulenberg 2019-11-04 20:49:17 +02:00
parent 75dd9bee38
commit ebeed9c013
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ color brightyellow "\<(await|export|import|throw|try|catch|finally|new|delete)\>
color magenta "\<(break|continue|return|yield)\>"
# Octal/decimal and hexadecimal numbers.
color cyan "\<[0-9]+\>" "\<0x[0-9A-Fa-f]+\>"
color cyan "\<([0-9]+|0x[0-9A-Fa-f]+)\>"
# Special values.
color cyan "\<(true|false|null|undefined)\>"