From dfe87540c625e62f4169b9605af3f4a22e52eb7c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 3 May 2019 12:00:29 +0200 Subject: [PATCH] syntax: po: colorize also escaped hex and octal codes --- syntax/po.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/po.nanorc b/syntax/po.nanorc index 7bfaf95d..5b99885c 100644 --- a/syntax/po.nanorc +++ b/syntax/po.nanorc @@ -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.