From 95a2db7a4a46de1e2f5816148ff8895a6c034f02 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 27 Jun 2005 03:47:52 +0000
Subject: [PATCH] add missing "?" to the color name regex of the "nanorc"
 regexes, so that regexes like "color ,green" won't be colored as though
 they're invalid

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

diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index 2afc5c4e..7985f78e 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -306,7 +306,7 @@
 # icolor cyan "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|brackets|casesensitive|const|cut|fill|historylog|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|punct|quickblank|quotestr|rebinddelete)\>" "^[[:space:]]*(set|unset)[[:space:]]+(regexp|smarthome|smooth|speller|suspend|tabsize|tabstospaces|tempfile|view|whitespace)\>"
 # icolor green "^[[:space:]]*(set|unset|syntax)\>"
 ## colors
-# icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
+# icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
 # icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
 ## strings
 # icolor white "\"(\\.|[^\"])*\""
-- 
GitLab