Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Regular expression expanding and matching
- X-seq: zsh-users 17436
- From: Mark van Dijk <lists+zsh@xxxxxxxxxxxxxx>
- To: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Regular expression expanding and matching
- Date: Sun, 25 Nov 2012 20:09:45 +0100
- Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- In-reply-to: <CACeGjnWHP4pYSbjRrvZGCpd8tOCEpuYaTODZ1=LiZuJO5tNTuw@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>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <50B23D2D.9060603@internecto.net> <CACeGjnWHP4pYSbjRrvZGCpd8tOCEpuYaTODZ1=LiZuJO5tNTuw@mail.gmail.com>
On 25-11-12 19:30, Vin Shelton wrote:
> On Sun, Nov 25, 2012 at 10:45 AM, Mark van Dijk
> <lists+zsh@xxxxxxxxxxxxxx> wrote:
>> Apparently there is no expansion of ${todaysday} and ${yesterday}.
>> This is not really surprising because in regular expressions many
>> characters have a different meaning.
>
>> So what's the proper way to achieve this type of expression matching?
>
> Enclosing the expressions in double quotes seems to work for me:
Argh. Painfully easy. Thanks Vin!
Mark
Messages sorted by:
Reverse Date,
Date,
Thread,
Author