diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-11-01 12:25:18 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-11-01 12:25:18 +0000 |
commit | 9471bbcfa06a87dcb6803a36d1208c214fa56003 (patch) | |
tree | f5edcdab07ad4b718037fed3b15a7bbb3e4961f2 /README | |
parent | e8d1ef3613e4c43e0b0c08ac2a124f4cc99ab652 (diff) | |
download | zsh-9471bbcfa06a87dcb6803a36d1208c214fa56003.tar.gz zsh-9471bbcfa06a87dcb6803a36d1208c214fa56003.tar.xz zsh-9471bbcfa06a87dcb6803a36d1208c214fa56003.zip |
22934, modified, see 22937: add HIST_SUBST_PATTERN option
make ${.../#%...} anchor at both ends
Diffstat (limited to 'README')
-rw-r--r-- | README | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/README b/README index 78fcf5489..d4ad770a3 100644 --- a/README +++ b/README @@ -49,6 +49,13 @@ The variable HOME is no longer set by the shell if zsh is emulating any other shell at startup; it must be present in the environment or set subsequently by the user. It is valid for the variable to be unset. +Parameter substitutions in the form ${param//#%search/replace} match +against "search" anchored at both ends of the parameter value. Previously +this syntax would have matched against "%search", anchored only at the head +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. + 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. |