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

Re: Matching Control with anchors between characters



I wrote:

> Yes, I've been thinking about adding something like this to the
> manual, too -- and then forgot, as usual. I would have used the match
> spec used by the functions that complete X colour names as an example, 
> which allows to use the uppercase letters (and digits) as shortcuts.

Bummer. Of course, we don't have a way to specify a gap between cetain 
types of characters. But maybe what I showed is enough?

Hm... with the possible patterns in match specs I have only one
concern: speed. The gap-thing could probably be tested fast enough as
long as we don't allow too complicated patterns combinations. I
haven't really thought this through, though.

But it would almost certainly make the syntax even more irritating for
most. I think ;-)

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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