${(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 is a Zsh IDE with support for ${(E)…} – try it now!