]> git.wh0rd.org Git - nano.git/commitdiff
Removing a mistaken doubled-up | which causes
authorBenno Schulenberg <bensberg@justemail.net>
Thu, 7 Aug 2014 20:27:21 +0000 (20:27 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Thu, 7 Aug 2014 20:27:21 +0000 (20:27 +0000)
an 'empty (sub)expression' error on MacOS X.
This fixes Savannah bug #42929.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5091 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/syntax/nanorc.nanorc

index ec88e20707d91a291d64c7eedd006e2a8c6c2ba6..bacefbafbc9d593d58185c875e2b708596acc09a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-08-07  Benno Schulenberg  <bensberg@justemail.net>
+       * doc/syntax/nanorc.nanorc: Remove a mistaken OR which causes a
+       'Bad regex, empty (sub)expression' error on some systems.  This
+       fixes Savannah bug #42929.
+
 2014-08-03  Benno Schulenberg  <bensberg@justemail.net>
        * doc/man/nano.1, doc/man/rnano.1: Tweak the formatting a bit so that
        po4a will create a nicer POT file.
index c59a9ab7ef2c58d072b83b9beb80a33b5c3cd3c0..c71e49201a37578b93248012d6078c96baaedfa2 100644 (file)
@@ -7,7 +7,7 @@ icolor brightred "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic|lint
 
 # Keywords
 icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backwards|boldtext|casesensitive|const|cut|fill|historylog|locking|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|poslog|preserve|quickblank|quiet|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|suspend|tabsize|tabstospaces|tempfile|view|wordbounds)\>"
-icolor yellow "^[[:space:]]*set[[:space:]]+(functioncolor|keycolor||statuscolor|titlecolor)[[:space:]]+(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
+icolor yellow "^[[:space:]]*set[[:space:]]+(functioncolor|keycolor|statuscolor|titlecolor)[[:space:]]+(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
 icolor brightgreen "^[[:space:]]*set[[:space:]]+(backupdir|brackets|functioncolor|keycolor|matchbrackets|operatingdir|punct|quotestr|speller|statuscolor|titlecolor|whitespace)[[:space:]]+"
 icolor brightgreen "^[[:space:]]*bind[[:space:]]+((\^|M-)([[:alpha:]]|space|[]]|[0-9_=+{}|;:'\",./<>\?-])|F([1-9]|1[0-6])|Ins|Del)[[:space:]]+[[:alpha:]]+[[:space:]]+[[:alpha:]]+[[:space:]]*$"
 icolor brightgreen "^[[:space:]]*unbind[[:space:]]+((\^|M-)([[:alpha:]]|space|[]]|[0-9_=+{}|;:'\",./<>\?-])|F([1-9]|1[0-6])|Ins|Del)[[:space:]]+[[:alpha:]]+[[:space:]]*$"