From 3f9c3bf10b3b3b008e5cc6f0874ac570b769fb11 Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Wed, 18 Sep 2002 00:00:12 +0000
Subject: [PATCH] - Add a better string matching sequence that includes escaped
 quotes (thanks to Carl E. Lindberg, who doesn't even know he helped ;-)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1277 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog     | 3 +++
 nanorc.sample | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index e811e41b..10709eb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -116,6 +116,9 @@ CVS code -
 - nanorc.sample:
 	- Fix the c-file regex for all caps words to be extended regex
 	  format ({} instead of \{\}) (found by DLR).
+	- Add a better string matching sequence that includes escaped
+	  quotes (thanks to Carl E. Lindberg, who doesn't even know he
+	  helped ;-)
 - utils.c:
   charalloc()
 	- Switch from using calloc() to using malloc(). (David
diff --git a/nanorc.sample b/nanorc.sample
index 27cb0706..15305bc7 100644
--- a/nanorc.sample
+++ b/nanorc.sample
@@ -102,7 +102,7 @@
 # because syntax highlighting rules will be applied in the order they are
 # read in
 
-# color brightyellow "<[^= ]*>" "\"[^"]*\""
+# color brightyellow "<[^= ]*>" "\"(\\.|[^\\"])*\""
 # color brightblue "//.*"
 # color brightblue start="/\*" end="\*/"
 
-- 
GitLab