]> git.wh0rd.org Git - nano.git/commitdiff
in nanorc.sample, simplify the "c-file" regex for characters
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 30 Mar 2006 20:26:58 +0000 (20:26 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 30 Mar 2006 20:26:58 +0000 (20:26 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3339 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/nanorc.sample

index dbfe067c4d18ce0d9caa5cc93b6277253dc183c9..28f0bc293e693b52e2d9dae9c4a76f50da5fa754 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,7 +11,7 @@ CVS code -
        - Update the copyright years to include 2006. (DLR)
 - doc/nanorc.sample:
        - Tweak the "c-file" regex for characters to accept '"' again,
-         as it's apparently valid. (DLR)
+         as it's apparently valid, and simplify it. (DLR)
        - Simplify the "shellscript" regex for command line options.
          (DLR)
        - Replace instances of \" with ", since quotes inside string
index 18628e226f896a9ea2b820dcfd854931e4f772a3..43855b168d3ac738a5cdff86c4258a2df9a7ffb0 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]{,2})|([0-3][0-7]{,2}))'" "'\\x[0-9A-Fa-f]{,2}'"
 ##
 ## GCC builtins
 ##