Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tilde syntax
On Fri, Jan 5, 2024 at 2:50 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> Ah, so this behavior is special. Is there some way to watch the parsing unfold?
There really isn't any "parsing" per se -- internally, an "active"
pattern character is represented differently than its literal
counterpart. All that $~x (or glob_subst) does is make the pattern
characters in $x be active instead of literal. The rest is just
ordinary globbing (or pattern matching, in [[ ... ]] etc.).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author