Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Feature Request] Adding option to support triple quotes
- X-seq: zsh-workers 44682
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [Feature Request] Adding option to support triple quotes
- Date: Sun, 18 Aug 2019 06:24:32 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=/M6yKL00Azidutm2H4fR602Zriw+IMWzi30E4oe1Hjg=; b=UFsg7cJV0BFEvNisIeIGNHjOeOQCAhMM3zekdvUSa+ev1v8m848lJrasw6YIb7Oa8n kZK6Hf70f4miUNDF9LqrlhRmkqwgGVQI4exHDxMs1Wpx44oaSDlwpzPU49vRjcCMCKTd uU5bfdxjdPDDc5cf43d9NrsX+E0BBlkXRAb1x9Bezgk0DWuzU9Qm7icpb2j1fKjQURta AsViYRzyLWopzNDQLg4gY1EnOTb8WuTlJ6U7SWhFhGCWULAFnQdJERn6vltevJR5swNE tno9TRLzV6VrPTiyVH9kIhJ7Rkc5QgBzpQnNRqoxPaONX47T8nPtWESbhvW/9VpQvhio QEQA==
- In-reply-to: <20190817063009.7niz4cz2tuqx3ksu@chaz.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <2c845fb0-d628-400f-a805-ad8356b6d87a@www.fastmail.com> <7EBD1ADA-7179-4EEF-97CA-DBE4371D80D6@icloud.com> <876f807b-dfdd-4246-8cfe-7cf6f373ac88@www.fastmail.com> <f053e72e-e22e-4729-a2de-eaa712119728@www.fastmail.com> <AAFFC725-E38F-4307-8E21-8A443FC0FFBC@icloud.com> <CAH+w=7bh3d950w_kT8KN5MeDjagapuoSqbWRBmFo8S=ZTUnwvg@mail.gmail.com> <20190817063009.7niz4cz2tuqx3ksu@chaz.gmail.com>
On 8/17/19, Stephane Chazelas <stephane.chazelas@xxxxxxxxx> wrote:
>
> On a related note, I really wish the glob*(e'(code $(...))')
> worked, as in the code that looks for the closing ) for the e
> glob qualifier would find the matching ")" as opposed to the
> first one (same in the s/j... parameter expansion flags, etc.)
You probably want glob*(e*'code $(...)'*), an unquoted * will never
match a quoted *, eg:
% echo .(e*'touch \*hi; reply=("*"*)'*)
*hi
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author