Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to best match $( ... ) in a string
- X-seq: zsh-users 23415
- From: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
- To: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- Subject: Re: How to best match $( ... ) in a string
- Date: Thu, 31 May 2018 22:49:14 -1000
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pD4vnDdaNeKvKepeJFUobRKDc0UR7ciMsrte0CUrNck=; b=ZGH3JJyHylJkyls+KlKLlmgkLr5quF5dS9mIRrR2ubu2L0Fso8jpxOELPzxrT8c7kR DFH+9U6Y37TVhyVp2w07ViF816DF8UySl7t+MkE6FqFlYqVjjIlsB3qOu535sQ0YT5K1 kkP7ZC03piDmarnYrxZcZy7wj87s6holMkBtamBBXbb8VPEksLirqJPeZKZN2QG9o/d4 X3LpGiU6CsqSv5yC0Rds7aJ6VfJj1ewPJQCm+22CM2rb7x6lm7A6Bg1SkdotV30Xh8y9 y8h0juwVgT1M7IW0nILWbXRatqY34i1TOR2//MvEozTGKP860FBnts+SPQEw+BxmFZMC YL8w==
- In-reply-to: <CAKc7PVANEoKJ0-R0i_zr6PoZYgzP8hYAtrTeyEKM-o4HoBr1rQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVANEoKJ0-R0i_zr6PoZYgzP8hYAtrTeyEKM-o4HoBr1rQ@mail.gmail.com>
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