diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-10-09 13:46:45 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-10-09 13:46:45 +0000 |
commit | ad3e2aa2157bc779b596d95987a80b28cf6928b9 (patch) | |
tree | ad186c4074d05c1b96832aac9c3c72c1def35e0d /Doc/Zsh/options.yo | |
parent | 86ef4650dccad8dfa00f28c94296dae1ec13d84e (diff) | |
download | zsh-ad3e2aa2157bc779b596d95987a80b28cf6928b9.tar.gz zsh-ad3e2aa2157bc779b596d95987a80b28cf6928b9.tar.xz zsh-ad3e2aa2157bc779b596d95987a80b28cf6928b9.zip |
25831: fix empty return values from subscript matches with RC_EXPAND_PARAM
Diffstat (limited to 'Doc/Zsh/options.yo')
-rw-r--r-- | Doc/Zsh/options.yo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 5c7b29cfd..e3bc27127 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -485,7 +485,8 @@ Array expansions of the form `var(foo)tt(${)var(xx)tt(})var(bar)', where the parameter var(xx) is set to tt(LPAR())var(a b c)tt(RPAR()), are substituted with `var(fooabar foobbar foocbar)' instead of the default -`var(fooa b cbar)'. +`var(fooa b cbar)'. Note that an empty array will therefore cause +all arguments to be removed. ) pindex(REMATCH_PCRE) cindex(regexp, PCRE) |