summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2012-04-25 09:18:48 +0000
committerMikael Magnusson <mikachu@gmail.com>2012-04-25 09:18:48 +0000
commit3e05817b7758defc008ce240235cf3174a88d4f3 (patch)
tree438ab11e5329f647d8527031fe56e0441f8ef4c8 /NEWS
parent30430: fix some errors and outdatedness in intro.ms (diff)
downloadzsh-3e05817b7758defc008ce240235cf3174a88d4f3.tar
zsh-3e05817b7758defc008ce240235cf3174a88d4f3.tar.gz
zsh-3e05817b7758defc008ce240235cf3174a88d4f3.tar.bz2
zsh-3e05817b7758defc008ce240235cf3174a88d4f3.tar.lz
zsh-3e05817b7758defc008ce240235cf3174a88d4f3.tar.xz
zsh-3e05817b7758defc008ce240235cf3174a88d4f3.tar.zst
zsh-3e05817b7758defc008ce240235cf3174a88d4f3.zip
30444: add NEWS entry for 30431
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2c05c6349..804f3abf8 100644
--- a/NEWS
+++ b/NEWS
@@ -87,6 +87,12 @@ Expansion (parameters, globbing, etc.) and redirection
as a string, never a pattern, e.g. ${array[(ie)*]} looks for the
index of the array element containing the literal string "*".
+- The operators :| and :* in parameter substitution allow for array
+ subtraction and intersection in the form ${name:|array}. With the :|
+ operator, all entries in $name that are also in $array will be removed
+ from the substitution. Conversely for the :* operation only the
+ entries that are in both arrays will be substituted.
+
- Numeric expansions can have a positive or negative step
e.g. "{3..9..2}". Negative start and end of ranges are also now
supported.