bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex confusion -- not matching; think it should?


From: DJ Mills
Subject: Re: regex confusion -- not matching; think it should?
Date: Wed, 19 Jun 2013 13:45:54 -0400

On Wed, Jun 19, 2013 at 12:56 PM, Chris Down <chris@chrisdown.name> wrote:

> On 20 June 2013 00:43, Greg Wooledge <wooledg@eeg.ccf.org> wrote:
> > On Thu, Jun 20, 2013 at 12:39:56AM +0800, Chris Down wrote:
> >> On 20 June 2013 00:29, DJ Mills <danielmills1@gmail.com> wrote:
> >> > wordsplitting and pathname expansion do not occur within the
> >> > [[ keyword.
> >>
> >> $ > foo
> >> $ [[ foo == * ]] && echo bar
> >> bar
> >
> > That's pattern matching, which is neither word splitting nor pathname
> > expansion.
>
> Interesting, that's a misconception about RHS matching I've held for a
> while now then. Thanks for pointing it out.
>
>
You can easily see that by doing the same thing without the file. It'll
still be true.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]