From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12558 invoked by alias); 8 Mar 2011 06:13:54 -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: 15846 Received: (qmail 5492 invoked from network); 8 Mar 2011 06:13:51 -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=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at spodhuis.org does not designate permitted sender hosts) 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=; Date: Tue, 8 Mar 2011 01:13:45 -0500 From: Phil Pennock To: Kamil =?utf-8?B?Sm/FhGNh?= Cc: zsh-users@zsh.org Subject: Re: Regexps - what am I doing wrong? Message-ID: <20110308061345.GA79682@redoubt.spodhuis.org> Mail-Followup-To: Kamil =?utf-8?B?Sm/FhGNh?= , zsh-users@zsh.org References: <87ei6ilgcf.fsf@alfa.kjonca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <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