From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18977 invoked by alias); 25 Jul 2011 11:57:52 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29604 Received: (qmail 14294 invoked from network); 25 Jul 2011 11:57:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Mon, 25 Jul 2011 12:57:39 +0100 From: Peter Stephenson To: zsh-workers Subject: Re: 'r' history parameter documentation fix Message-ID: <20110725125739.53d1db24@pwslap01u.europe.root.pri> In-Reply-To: <87aac24m93.fsf@gmail.com> References: <1311403039.25825.207.camel@zareason> <110725013402.ZM15058@torch.brasslantern.com> <87ei1e4quq.fsf@gmail.com> <20110725111518.1dc9a327@pwslap01u.europe.root.pri> <87aac24m93.fsf@gmail.com> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.103.11.26] X-Scanned-By: MailControl A-12-01-00 (www.mailcontrol.com) on 10.71.0.121 On Mon, 25 Jul 2011 13:45:28 +0200 =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec wrote: > On Monday, 25.07.2011, Peter Stephenson wrote:=20 >=20 > > -Remove a filename extension of the form `tt(.)var(xxx)', leaving > > -the root name. > > +Remove a filename extension, i.e. a `tt(.)' followed by any number of > > +characters (including zero) that are not `tt(.)', leaving the root > > +name. >=20 > If you want to go that route, you need to say "the last `tt(.)'". That would imply that it wasn't clear that the string of characters that were not "." had to extend to the end of the string, as I'd intended, so I need to fix that. I also need to say "not `tt(.)' or `tt(/)'". Remove a filename extension leaving the root name. Strings with no filename extension are not altered. For this purpose, a filename extension is a `tt(.)' followed by any number characters (including zero) that are neither `tt(.)' nor `tt(/)' and that continue to the end of the string. For example, the extension of `tt(foo.orig.c)' is `tt(.c)', and `tt(dir.c/foo)' has no extension. --=20 Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, = UK Member of the CSR plc group of companies. CSR plc registered in England and= Wales, registered number 4187346, registered office Churchill House, Cambr= idge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom More information can be found at www.csr.com. Follow CSR on Twitter at http= ://twitter.com/CSR_PLC and read our blog at www.csr.com/blog