]> git.wh0rd.org Git - nano.git/commitdiff
in nanorc.sample, also tweak the "c-file" regex for characters to
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 27 Oct 2005 19:06:47 +0000 (19:06 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 27 Oct 2005 19:06:47 +0000 (19:06 +0000)
properly reject '"' and '''

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3058 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/nanorc.sample

index c947dfabd0a4798ac42599601cd7423ba9e8b5e7..3ba5578309c864711ffedef4fedde60a5fdd776e 100644 (file)
--- 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:
index 3fb7edfff8267f61b55650ea624e60db91826c79..cdaefc1f0caf6eb74551580098d785de9267607f 100644 (file)
 # 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
 ##