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
Этот коммит содержится в:
родитель
b8d92feb62
Коммит
aa79925d6a
@ -12,6 +12,8 @@ CVS code -
|
|||||||
- doc/nanorc.sample:
|
- doc/nanorc.sample:
|
||||||
- Tweak the "c-file" regex for characters to accept '"' again,
|
- Tweak the "c-file" regex for characters to accept '"' again,
|
||||||
as it's apparently valid. (DLR)
|
as it's apparently valid. (DLR)
|
||||||
|
- Simplify the "shellscript" regex for command line options.
|
||||||
|
(DLR)
|
||||||
- Replace instances of \" with ", since quotes inside string
|
- Replace instances of \" with ", since quotes inside string
|
||||||
parameters don't need to be escaped with backslashes. (DLR)
|
parameters don't need to be escaped with backslashes. (DLR)
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@
|
|||||||
# icolor brightgreen "^[_A-Z0-9]+\(\)"
|
# 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 "\<(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 "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
||||||
# 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 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)\>"
|
# 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]+\}?"
|
# icolor brightred "\$\{?[_A-Z0-9]+\}?"
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user