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

Re: Let's finish this new completion stuff



Bart Schaefer wrote:

> I don't want to get into anything that looks like a multidimensional
> array.

We already allow multiple subscripst in parameter expansion, not in
assignments.

> OK would be $matches[prefix(num)] or something ... though in
> thinking about it a bit further, I think I prefer requiring the (r) or
> (R) flag to activate any such magic, e.g. $matches[(r)prefix(num)].
> The connection to patterns is useful; it's just a special case of a
> pattern.

Yes, I'd prefer requiring the `(r)', too. (Hm, I already said that,
didn't I? I think so...)

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author