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

Re: Regexps - what am I doing wrong?



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