]> git.wh0rd.org Git - nano.git/commitdiff
add missing "?" to the color name regex of the "nanorc" regexes, so that
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 27 Jun 2005 03:47:52 +0000 (03:47 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 27 Jun 2005 03:47:52 +0000 (03:47 +0000)
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

index 2afc5c4e9fe96a027e5dccc33c9dc18891227642..7985f78e693b5107d0fa2c6949f0637fae4a45b0 100644 (file)
 # 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 "\"(\\.|[^\"])*\""