From: David Lawrence Ramsey Date: Thu, 30 Mar 2006 20:34:20 +0000 (+0000) Subject: further simplify the "c-file" regex for characters X-Git-Tag: v1.3.12~338 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=11ff847cff2dc19994b34f2ba229de747136e6a1;p=nano.git further simplify the "c-file" regex for characters git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3340 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/doc/nanorc.sample b/doc/nanorc.sample index 43855b16..52fbdfd0 100644 --- a/doc/nanorc.sample +++ b/doc/nanorc.sample @@ -198,7 +198,7 @@ # color brightyellow "\<(try|throw|catch|operator|new|delete)\>" # color magenta "\<(goto|continue|break|return)\>" # color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif|elif|else|if|warning|error)" -# color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-7]{,2})|([0-3][0-7]{,2}))'" "'\\x[0-9A-Fa-f]{,2}'" +# color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{,2}))'" "'\\x[0-9A-Fa-f]{,2}'" ## ## GCC builtins ##