diff options
author | Bart Schaefer <schaefer@zsh.org> | 2022-04-30 12:29:52 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2022-04-30 12:29:52 -0700 |
commit | fc1ae21fdac97399163b93e26818fadebcc11cf7 (patch) | |
tree | 0126e90eb538f537b7fcbb54accc3028e2297d92 /NEWS | |
parent | 276020522e91212bed496c2048b1b24b0817218a (diff) | |
download | zsh-fc1ae21fdac97399163b93e26818fadebcc11cf7.tar.gz zsh-fc1ae21fdac97399163b93e26818fadebcc11cf7.tar.xz zsh-fc1ae21fdac97399163b93e26818fadebcc11cf7.zip |
unposted: Add details about ${(*)...} expansion
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS index 1ab4f0649..d7a817c1e 100644 --- a/NEWS +++ b/NEWS @@ -46,6 +46,12 @@ of CLOBBER for empty files only. It is disabled by default. A (-) expansion flag was added. It works like (n) but correctly sorts negative numbers. +The (*) expansion flag enables EXTENDED_GLOB for pattern matching. +For example, ${(*)sample/(#b)*(pat)*/${match[1]}} uses backreferences +even if EXTENDED_GLOB is not otherwise set. However, this does not +descend into nested exapansions, and doubling as (**) does not disable +EXTENDED_GLOB. + The compinit function learnt a -w option to explain why compdump runs. When run without the -i or -u options and compaudit discovers security issues, answering "y" to the "Ignore insecure ..." prompt removes the |