syntax: po: highlight also other escaped characters, not just \n

Especially color \a and \t, to make it easier to distinguish them
from contiguous text.
This commit is contained in:
Benno Schulenberg 2018-04-17 09:52:01 +02:00
parent 7ab8a4d835
commit 30a984661b
1 changed files with 2 additions and 2 deletions

View File

@ -20,9 +20,9 @@ color red " fuzzy(,|$)"
color yellow " (no-)?[-[:alpha:]]+-format(,|$)"
# Format specifiers.
color brightmagenta "%([1-9]\$)?[a-z]*"
# Quotes and newlines.
# Quotes and escaped characters.
color yellow "\""
color cyan "\\n"
color cyan "\\[abcefnrtv"\]"
# Reminders.
color brightwhite,yellow "(FIXME|TODO|XXX)"
# Obsolete strings.