Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Regexps - what am I doing wrong?
- X-seq: zsh-users 15846
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Kamil Jońca <kjonca@xxxxx>
- Subject: Re: Regexps - what am I doing wrong?
- Date: Tue, 8 Mar 2011 01:13:45 -0500
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d200912; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=Fe7V/+9RpbLXnNSFr8m9k0fAzomSgL2Nsk7484c8glk=; b=NmYiS1ZsEH5XNrjVn0Fj2aH5GJSmDnKmEXDqst547VNHT+tP1h56wwlIbbfgh4NTik7dSgzmWz2CVmTg9R6zfSfQ6SZDMnoGPCZ7LI+aKs1xzUn+/CjyAfhjjCthfVlS/yKOsljH5bc5WZW5YPHKcQYYRsQ3EGL4AynITWWVKdw=;
- In-reply-to: <87ei6ilgcf.fsf@alfa.kjonca>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Kamil Jońca <kjonca@xxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <87ei6ilgcf.fsf@alfa.kjonca>
On 2011-03-07 at 23:24 +0100, Kamil Jońca wrote:
>
> Can somebody explain me why in last line zsh responds "yes"?
> ZSH_VERSION=4.3.10
Bug, introduced by me when I put in the =~ syntax. Fixed for the 4.3.11
release. =~ corrupted parse state in such a way that you only notice it
when followed by &&/|| -- the sense of the following test would be
inverted. Very embarrassing, sorry. The test suite now checks this.
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author