${(M)…}: Include matched portion of pattern matching
(M)is only useful for parameter expansion operators ${.../...} and ${(S)...#...}.
It includes the matched portion in the result.
Links
BashSupport Pro ist eine Zsh IDE mit Unterstützung für ${(M)…} - probieren Sie es jetzt aus!