Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Regexps - what am I doing wrong?



Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx> 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



Messages sorted by: Reverse Date, Date, Thread, Author