tweaks: swap two parts of specific regexes, for consistency with others

This order makes more sense to me: first the part that allows
almost everything, and then the special case.
This commit is contained in:
Benno Schulenberg
2021-10-27 09:45:42 +02:00
parent 7bd68365ec
commit 1cd92458e9
15 changed files with 17 additions and 17 deletions

View File

@@ -54,7 +54,7 @@ color brightmagenta "\(|\)|\[|\]|\{|\}"
color brightcyan "^#!.*"
# Strings
color red ""(\\.|[^"\])*"|'(\\.|[^'\])*'"
color red ""([^"\]|\\.)*"|'([^'\]|\\.)*'"
# Simple comments and multiline comments
color green "--.*"