]> git.wh0rd.org Git - nano.git/commitdiff
in nanorc.sample, simplify the "shellscript" regex for command line
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 30 Mar 2006 18:18:27 +0000 (18:18 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 30 Mar 2006 18:18:27 +0000 (18:18 +0000)
options

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

ChangeLog
doc/nanorc.sample

index 4a4ee31bc3b30f108fb4f2aa6409a38974441554..dbfe067c4d18ce0d9caa5cc93b6277253dc183c9 100644 (file)
--- 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)
 
index cc8b65a13bf5ff6fefa28769bc65f83a44ff8ff8..18628e226f896a9ea2b820dcfd854931e4f772a3 100644 (file)
 # 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]+\}?"