${(E)…}
: Include index after end of pattern matching
(E)
is only useful for parameter expansion operators ${.../...}
and ${(S)...#...}
.
It includes the index past the end of the match in the result.
Links
BashSupport Pro 是一款支持 E** 的 **Zsh 集成开发环境 - 立即试用!