From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2525 invoked by alias); 8 Mar 2011 07:12:23 -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: 15847 Received: (qmail 10394 invoked from network); 8 Mar 2011 07:12:21 -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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.12 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: kjonca@o2.pl (Kamil =?iso-8859-2?Q?Jo=F1ca?=) Subject: Re: Regexps - what am I doing wrong? Date: Tue, 08 Mar 2011 08:09:20 +0100 Message-ID: <8762ruks0v.fsf@alfa.kjonca> References: <87ei6ilgcf.fsf@alfa.kjonca> <20110308061345.GA79682@redoubt.spodhuis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: circinus.aster.net.pl User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:VJWtBEC1RigVQ+36c7Q3Ffx5hWw= Phil Pennock writes: > 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. Yes, in 4.3.11 works ok, thanks. KJ -- http://sporothrix.wordpress.com/2011/01/16/usa-sie-krztusza-kto-nastepny/ Keyboard error press F1 continue