mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-12-29 16:25:35 +01:00
Document (E) parameter flag better.
It produces 1 more than any other use of an index for the end of a match, helpfully.
This commit is contained in:
parent
7e40a89053
commit
f094b5b461
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue