Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to best match $( ... ) in a string



On Fri, Jun 01, 2018 at 10:44:58AM +0200, Sebastian Gniazdowski wrote:
> Hello,
> the problem is possible quoting, e.g. $( echo \) ). Has anyone a
> pattern that would handle some sort of quoting?

You mean like a regex/glob to match the entire "$(...)" construct with those
possible weird \) and such inside?

-- 
Cheers,
Joey Pabalinas

Attachment: signature.asc
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author