syntax: po: colorize also escaped hex and octal codes

master
Benno Schulenberg 2019-05-03 12:00:29 +02:00
parent 6c4f228f6f
commit dfe87540c6
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ color yellow " (no-)?[-[:alpha:]]+-format(,|$)"
color brightmagenta "%([1-9]\$)?[a-z]*"
# Quotes and escaped characters.
color yellow "\""
color cyan "\\[abcefnrtv"\]"
color cyan "\\([abcefnrtv"\]|x[0-9abcdefABCDEF]{2}|[0-7]{3})"
# Reminders.
color brightwhite,yellow "(FIXME|TODO|XXX)"
# Obsolete strings.