Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: reverse matching (tentative)
- X-seq: zsh-workers 23441
- From: "Matt Wozniski" <godlygeek@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: reverse matching (tentative)
- Date: Tue, 15 May 2007 17:06:37 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r/lxDLjzVGZE5dz3SChi0xsRWueURtvdmrburGYV7H9B0WI93QReN8fnCJqkEgEtMIXEujZUtZoZiKB+u2h2TBwnRBZ/9gDNUdQchfrnFrR9ADtm5KZkEs0BkkZMwgADmvFxZkmF9MIbKiGcBFQw3P3T4Z2R/6Z9k2aS7fOhu+k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QR2iyob+AF6JNIQRW6cl59PaTwCfFMjjottSpli/pQDQl5V10YhEf3QeMBlikmkZglgS7Du7eRkof39fgPFiQSrttw1HgMDrzoVB1HmIvqqhbKIJWwpgHAavwRBfcDm2Qgj1Wn1xHQ6teQJX3M46qFwcRJEPu3pHZwWpXXblNFA=
- In-reply-to: <200705150959.l4F9xqv9010438@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200705150959.l4F9xqv9010438@xxxxxxxxxxxxxx>
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.
~Matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author