From 3dc0e23e0c26135f7536bf9de8ab78f58f1ff0a4 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 1 Jun 2006 01:54:41 +0000
Subject: [PATCH] in nanorc.sample, simplify the extensions associated with the
 "nanorc" regexes

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

diff --git a/ChangeLog b/ChangeLog
index eb81deee..131a8c5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -449,6 +449,8 @@ CVS code -
 	  variables, such as $? and $@. (Benno Schulenberg)
 	- Tweak the "nanorc" regexes to color comments bright blue
 	  instead of blue. (John M. Gabriele)
+	- Simplify the extensions associated with the "nanorc" regexes.
+	  (DLR)
 - src/Makefile.am:
 	- If we're uninstalling, remove the "rnano" symlink. (DLR, found
 	  by Benno Schulenberg)
diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index 517a9041..e3fb0eb5 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -366,7 +366,7 @@
 
 ## Here is an example for your .nanorc.
 ##
-# syntax "nanorc" "(\.|/|)nanorc$"
+# syntax "nanorc" "\.?nanorc$"
 ## Possible errors and parameters
 # icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
 ## Keywords
-- 
GitLab