diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-21 09:30:24 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-21 09:30:24 +0000 |
| commit | faf05be3d2adc99212af74e2507a66de1161a52a (patch) | |
| tree | 7a0ac19d76eff3142484c02a83388a5e52848535 /README | |
| parent | 23444: handle multibyte characters in print -c/-C (diff) | |
| download | zsh-faf05be3d2adc99212af74e2507a66de1161a52a.tar zsh-faf05be3d2adc99212af74e2507a66de1161a52a.tar.gz zsh-faf05be3d2adc99212af74e2507a66de1161a52a.tar.bz2 zsh-faf05be3d2adc99212af74e2507a66de1161a52a.tar.lz zsh-faf05be3d2adc99212af74e2507a66de1161a52a.tar.xz zsh-faf05be3d2adc99212af74e2507a66de1161a52a.tar.zst zsh-faf05be3d2adc99212af74e2507a66de1161a52a.zip | |
23440: Make $param[(R)value] substitute the empty string on failure
Diffstat (limited to 'README')
| -rw-r--r-- | README | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -72,6 +72,10 @@ of the value. The form ${param//#$search/replace} where the value $search starts with "%" considers the "%" to be part of the search string as before. +Parameter subscripts of the form ${array[(R)test]} now return the +empty string if they fail to match. The previous longstanding behaviour +was confusing and useless. + The MULTIBYTE option is on by default where it is available; this causes many operations to recognise characters as in the current locale. Older versions of the shell always assumed a character was one byte. |
