From: Joey Pabalinas <joeypabalinas@gmail.com>
To: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: How to best match $( ... ) in a string
Date: Thu, 31 May 2018 22:49:14 -1000 [thread overview]
Message-ID: <20180601084914.mwmhix5iph32y4wl@gmail.com> (raw)
In-Reply-To: <CAKc7PVANEoKJ0-R0i_zr6PoZYgzP8hYAtrTeyEKM-o4HoBr1rQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-06-01 8:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20180601084641epcas5p1ca4cd48fa463123bbe980d132fd19473@epcas5p1.samsung.com>
2018-06-01 8:44 ` Sebastian Gniazdowski
2018-06-01 8:49 ` Joey Pabalinas [this message]
2018-06-01 9:01 ` Sebastian Gniazdowski
2018-06-01 9:50 ` Peter Stephenson
2018-06-01 10:56 ` Sebastian Gniazdowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180601084914.mwmhix5iph32y4wl@gmail.com \
--to=joeypabalinas@gmail.com \
--cc=sgniazdowski@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).