]> git.wh0rd.org Git - nano.git/commitdiff
in nanorc.sample, simplify the "nanorc" regex for commands
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 13 Apr 2006 02:50:36 +0000 (02:50 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 13 Apr 2006 02:50:36 +0000 (02:50 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3373 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/nanorc.sample

index 0df0c6d2c24f883aeb3063bfe4c65a76fff99c79..5fd3f9a871e2be38764aa55292927ecc7e223734 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -91,6 +91,7 @@ CVS code -
          by DLR, suggested by John M. Gabriele)
        - Explicitly mention that all regexes should be extended regular
          expressions. (DLR, suggested by John M. Gabriele)
+       - Simplify the "nanorc" regex for commands. (DLR)
 - UPGRADE:
        - Miscellaneous minor fixes. (DLR)
 
index 871ae1434662b2dbdd5a2806d1a894a957a71c83..d4c748b3c8d2f6147815f7cfc83fb021af98c080 100644 (file)
 ##
 # syntax "nanorc" "(\.|/|)nanorc$"
 ## highlight possible errors and parameters
-# icolor brightwhite "^[[:space:]]*(set|unset|include|syntax|i?color).*$"
+# icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
 ## set, unset and syntax
 # icolor cyan "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|speller|suspend|tabsize|tabstospaces|tempfile|view|whitespace|wordbounds)\>"
 # icolor green "^[[:space:]]*(set|unset|syntax)\>"