Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: reverse matching (tentative)
- X-seq: zsh-workers 23445
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: reverse matching (tentative)
- Date: Mon, 21 May 2007 10:49:13 +0100
- In-reply-to: <17393e3e0705151406w2c58798fncfe4060f2f6e0d86@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <200705150959.l4F9xqv9010438@xxxxxxxxxxxxxx> <17393e3e0705151406w2c58798fncfe4060f2f6e0d86@xxxxxxxxxxxxxx>
On Tue, 15 May 2007 17:06:37 -0400
"Matt Wozniski" <godlygeek@xxxxxxxxx> wrote:
> On 5/15/07, Peter Stephenson wrote:
> > match. If the option KSH_ARRAYS is in effect, the subscript is
> > still 0 for a failed match; this cannot be distinguished from a
> > successful match without testing ${array[0]} against the pat-
> > tern.
>
> I have a function in my .zshrc that has to work around exactly that
> 'feature' - I'd be all for just removing that and having it return a
> blank string.
I've committed this.
Only (R) has changed. Indices returned from subscript searches should
be as before.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview
Messages sorted by:
Reverse Date,
Date,
Thread,
Author