diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2016-12-09 19:34:14 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2016-12-09 19:34:14 +0000 |
commit | f094b5b461a941eed71b53c0e7c268ed959ad788 (patch) | |
tree | 668e445879bec46e0d0bf000d93f1865cf0c589e | |
parent | 7e40a8905336a7f62e40d7095fa89b224a6f7a1f (diff) | |
download | zsh-f094b5b461a941eed71b53c0e7c268ed959ad788.tar.gz zsh-f094b5b461a941eed71b53c0e7c268ed959ad788.tar.xz zsh-f094b5b461a941eed71b53c0e7c268ed959ad788.zip |
Document (E) parameter flag better.
It produces 1 more than any other use of an index for the end of a match, helpfully.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Doc/Zsh/expn.yo | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index c35377cdc..31dbbb0a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-12-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/22161: Doc/Zsh/expn.yo: the (E) parameter flag is one + after every other use of indexing. + 2016-12-09 Daniel Shahaf <d.s@daniel.shahaf.name> * 40117: Doc/Zsh/compsys.yo, Src/input.c: Revert a hunk of diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 87ca7905d..cf4f69ea2 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -1394,7 +1394,8 @@ item(tt(B))( Include the index of the beginning of the match in the result. ) item(tt(E))( -Include the index of the end of the match in the result. +Include the index one character past the end of the match in the result +(note this is inconsistent with other uses of parameter index). ) item(tt(M))( Include the matched portion in the result. |