properly reject '"' and '''
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3058
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
- 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:
# 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
##