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

Re: Regular expression expanding and matching



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