diff --git a/ChangeLog b/ChangeLog index c947dfab..3ba55783 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,8 +18,8 @@ CVS code - - nano.h: - Readd MIN_EDITOR_COLS #define. (DLR) - doc/nanorc.sample: - - Tweak the "c-file" regex for characters to properly handle - '\"'. (DLR) + - Tweak the "c-file" regex for characters to properly accept + '\"' and reject '"' and '''. (DLR) GNU nano 1.3.9 - 2005.10.23 - General: diff --git a/doc/nanorc.sample b/doc/nanorc.sample index 3fb7edff..cdaefc1f 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 ##