commit f420bea2cae1d46480ae50a6f54a9596490e89fd
parent aa79925d6a979ba707a2965918dac2ff6223f28b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 30 Mar 2006 20:26:58 +0000
in nanorc.sample, simplify the "c-file" regex for characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3339 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
diff --git a/doc/nanorc.sample b/doc/nanorc.sample
@@ -198,7 +198,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]{,2})|([0-3][0-7]{,2}))'" "'\\x[0-9A-Fa-f]{,2}'"
##
## GCC builtins
##