aboutsummaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2020-09-13 16:19:52 -0700
committerBart Schaefer <schaefer@zsh.org>2020-09-13 16:19:52 -0700
commit63b6398b7017d3850010f47458818a439479a456 (patch)
tree349aded0a6fbf66d164c0b5220fac9923b98b50f /Doc
parent24a82b9dad1cbe109d9fb5753c429fd37b1618cd (diff)
downloadzsh-63b6398b7017d3850010f47458818a439479a456.tar.gz
zsh-63b6398b7017d3850010f47458818a439479a456.tar.xz
zsh-63b6398b7017d3850010f47458818a439479a456.zip
47364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}
Mikael Magnusson: 47382: Completion for 47364
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/expn.yo6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index cbdae4d58..b3396721f 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -1422,7 +1422,7 @@ error, and the flag itself has no effect.
enditem()
The following flags are meaningful with the tt(${)...tt(#)...tt(}) or
-tt(${)...tt(%)...tt(}) forms. The tt(S) and tt(I) flags may also be
+tt(${)...tt(%)...tt(}) forms. The tt(S), tt(I), and tt(*) flags may also be
used with the tt(${)...tt(/)...tt(}) forms.
startitem()
@@ -1488,6 +1488,10 @@ will remove the same matches as for `tt(#)', but in reverse order, and the
form using `tt(%%)' will remove the same matches as for `tt(##)' in reverse
order.
)
+item(tt(*))(
+Enable tt(EXTENDED_GLOB) for substitution via tt(${)...tt(/)...tt(}) or
+tt(${)...tt(//)...tt(}).
+)
item(tt(B))(
Include the index of the beginning of the match in the result.
)