From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7257 invoked by alias); 7 Jan 2015 17:06:30 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19696 Received: (qmail 25145 invoked from network); 7 Jan 2015 17:06:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f5-b7fc86d0000066b7-f9-54ad67916dd4 Date: Wed, 07 Jan 2015 17:06:22 +0000 From: Peter Stephenson To: Zsh Users Subject: Re: completion Message-id: <20150107170622.7b805f02@pwslap01u.europe.root.pri> In-reply-to: References: <5488D414.6010300@eastlink.ca> <30453.1418258082@thecus.kiddle.eu> <5488F0AC.2040901@eastlink.ca> <141210214454.ZM12261@torch.brasslantern.com> <5489C8F4.8030703@eastlink.ca> <141211092824.ZM13349@torch.brasslantern.com> <5489F1BC.5000900@eastlink.ca> <20150107150109.GA14088@ypig.lip.ens-lyon.fr> <20150107152856.0a347dec@pwslap01u.europe.root.pri> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5/e/4Fd2J6WtDDF5/47LYcXIlowOjx6qD H5gCGKO4bFJSczLLUov07RK4MrZd6GAs2Mde8ez/fLYGxjesXYycHBICJhKHp/5hg7DFJC7c Ww9kc3EICSxllOi4u4oFymGS6OpuB6tiEVCVOHb7JpjNJmAoMXXTbEYQW0RAUeLMr29MILaw gLjEjOk3wOK8AvYSrxf8YQaxOQWCJeb2w2zYwSzxtGUJO0iCX0Bf4urfT0wQZ9hLzLxyBqpZ UOLH5HssIDazgJbE5m1NrBC2vMTmNW+ZJzAKzEJSNgtJ2SwkZQsYmVcxiqaWJhcUJ6XnGukV J+YWl+al6yXn525ihITh1x2MS49ZHWIU4GBU4uFVmLwmRIg1say4MvcQowQHs5IIr2vy2hAh 3pTEyqrUovz4otKc1OJDjEwcnFINjMdT/gq8u/6hyFeylC3hot+RQpVdT1IjY8/kuu+dLnrr 7ZN7TiyC9nJ6V9p2/JiiYxw5ue1RcPdJsz993kvMop+qMSR+C1ouE9iltezKr3l3wpZlmKW/ Oj/dZGco32r+STHXtr7YekQnOKciqi3/Zk702tqjNvbarEVlkQp6ftOs7qR7n5aRUmIpzkg0 1GIuKk4EABVKW3YhAgAA On Wed, 7 Jan 2015 17:58:39 +0100 Mikael Magnusson wrote: > On Wed, Jan 7, 2015 at 4:28 PM, Peter Stephenson > wrote: > > On Wed, 7 Jan 2015 16:01:09 +0100 > > Vincent Lefevre wrote: > >> On 2014-12-11 11:34:20 -0800, Ray Andrews wrote: > >> > Anyway, knowing that the star replaces the colons cracks it open. > >> > >> This is a bit old, but... When can an asterisk replace a colon? > > > > Colons aren't special to pattern matching at all. > > > >> If an asterisk can match anything, there may be an ambiguity on > >> which field some given word will match. > > > > Yes, they are ambiguous. The examples probably could do with fixing. > > > > With some of the more complicated things you can do, this can actually > > be hard to work around, I seem to remember. > > Does [^:]# work in this context? Yes, it's just a bit clumsy when repeated in a string. pws