From f420bea2cae1d46480ae50a6f54a9596490e89fd Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 30 Mar 2006 20:26:58 +0000
Subject: [PATCH] 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
---
 ChangeLog         | 2 +-
 doc/nanorc.sample | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dbfe067c..28f0bc29 100644
--- 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
index 18628e22..43855b16 100644
--- 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
 ##
-- 
GitLab