Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Strange bug when completing [ in file names
- X-seq: zsh-workers 20731
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: Strange bug when completing [ in file names
- Date: Thu, 20 Jan 2005 15:29:48 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <6483.1106219109@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <41EAE932.5070808@xxxxxxxxxxxxxx> <6483.1106219109@xxxxxxxxxxxxxxxxxxxxx>
On Jan 20, 12:05pm, Oliver Kiddle wrote:
} Subject: Re: Strange bug when completing [ in file names
}
} the `[' is quoted. The following patch fixes it.
}
} + "${(e)word}" != *[^\\][][^*?\(\)\<\>\{\}\|]* ]] &&
Doesn't that need to be
(#s)(*[^\\]|)[^*?\(\)\<\>\{\}\|]*
or something similar, so that a word beginning with "[[" can match?
E.g. a word beginning with the pattern [[:alpha:].]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author