From 3c7476acd85763ea8a0e3eef8b79adaeb3342a8e Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Sun, 3 Feb 2008 02:02:02 -0600 Subject: [PATCH] Highlight long hex escape sequences in string literals --- moo/mooedit/language-specs/c.lang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moo/mooedit/language-specs/c.lang b/moo/mooedit/language-specs/c.lang index 407ce08f..1a444cf8 100644 --- a/moo/mooedit/language-specs/c.lang +++ b/moo/mooedit/language-specs/c.lang @@ -70,7 +70,7 @@ \\( # leading backslash [\\\"\'nrtfav\?e] | # escaped character [0-7]{1,3} | # one, two, or three octal digits - x[0-9A-Fa-f]{0,2} # 'x' followed by zero, one, or two hex digits + x[0-9A-Fa-f]+ # 'x' followed by hex digits ) @@ -260,7 +260,7 @@ __STDC__ - + true false