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

Re: Strange bug when completing [ in file names



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