Updated some regexes

One of the expressions used .* to mean 'any character except newline', but since I've
enabled 'RE_SINGLE_LINE' mode, a dot matches a newline as well.
This commit is contained in:
2025-04-23 16:25:46 -04:00
parent 06fab2292c
commit a1309af696
2 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# Priority decreases going downward ie. If two regexes match the same piece of
# text, the one defined earlier will take precedence over the one defined later.
# Comments
'//.*': GRAY
'//[^\n]*': GRAY
'/\*[^*]*\*+(?:[^/*][^*]*\*+)*/': GRAY
# Numbers and special values
'\b\-?[0-9]*\b': MAGENTA