From 40c3cd1aa948da62faf2f174d0062aa2f040ba7e Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 13 Jun 2005 16:41:48 +0000
Subject: [PATCH] in the "nanorc" regexes in nanorc.sample, tweak the "comment"
 regex to color comments that don't start at the beginning of a line

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

diff --git a/ChangeLog b/ChangeLog
index 2a3da4c1..2d441689 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -257,7 +257,9 @@ CVS code -
 - doc/nanorc.sample:
 	- In the "nanorc" regexes, tweak the "color" regex to properly
 	  color a line that specifies a background color without a
-	  foreground color, and update the associated comments. (DLR)
+	  foreground color, and update the associated comments.  Also,
+	  tweak the "comment" regex to color comments that don't start
+	  at the beginning of a line. (DLR)
 - doc/man/fr/Makefile.am:
 	- Set mandir to @mandir@/fr, so French manpages get installed
 	  where they belong (Jordi).
diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index 3e290448..76b6d4c4 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -270,4 +270,4 @@
 ## strings
 # color white "\"(\\.|[^\"])*\""
 ## comments
-# color blue "^ *#.*$"
+# color blue " *#.*$"
-- 
GitLab