From aa79925d6a979ba707a2965918dac2ff6223f28b Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 30 Mar 2006 18:18:27 +0000
Subject: [PATCH] in nanorc.sample, simplify the "shellscript" regex for
 command line options

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3338 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 4a4ee31b..dbfe067c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,8 @@ CVS code -
 - doc/nanorc.sample:
 	- Tweak the "c-file" regex for characters to accept '"' again,
 	  as it's apparently valid. (DLR)
+	- Simplify the "shellscript" regex for command line options.
+	  (DLR)
 	- Replace instances of \" with ", since quotes inside string
 	  parameters don't need to be escaped with backslashes. (DLR)
 
diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index cc8b65a1..18628e22 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -330,7 +330,7 @@
 # icolor brightgreen "^[_A-Z0-9]+\(\)"
 # color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
 # color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
-# color green "-(L|d|e|f|g|r|u|w|x)\>"
+# color green "-[Ldefgruwx]\>"
 # color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
 # color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
 # icolor brightred "\$\{?[_A-Z0-9]+\}?"
-- 
GitLab