From: David Lawrence Ramsey Date: Thu, 27 Oct 2005 18:59:23 +0000 (+0000) Subject: in nanorc.sample, tweak the "c-file" regex for characters to properly X-Git-Tag: v1.3.10~189 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=20186f8849a2fa67af6a26c0a4ecaa9cc24415d9;p=nano.git in nanorc.sample, tweak the "c-file" regex for characters to properly handle '\"' git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3057 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index a4b08ea1..c947dfab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,9 @@ CVS code - get_page_start(). (DLR) - nano.h: - Readd MIN_EDITOR_COLS #define. (DLR) +- doc/nanorc.sample: + - Tweak the "c-file" regex for characters to properly handle + '\"'. (DLR) GNU nano 1.3.9 - 2005.10.23 - General: diff --git a/doc/nanorc.sample b/doc/nanorc.sample index 071f5a8b..3fb7edff 100644 --- a/doc/nanorc.sample +++ b/doc/nanorc.sample @@ -185,7 +185,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][0-7]?)|([0-3][0-7][0-7]))'" "'\\x[0-9A-Fa-f][0-9A-Fa-f]?'" +# color brightmagenta "'([^\]|(\\["'abfnrtv\\]))'" "'\\(([0-7][0-7]?)|([0-3][0-7][0-7]))'" "'\\x[0-9A-Fa-f][0-9A-Fa-f]?'" ## ## GCC builtins ##