${(R)…}: Include unmatched portion of pattern matching

(R)is only useful for parameter expansion operators ${.../...} and ${(S)...#...}. It includes the unmatched portion of the pattern matching in the result.

BashSupport Pro is a Zsh IDE with support for ${(R)…}try it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal