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

Strange behavior of [[



Hi everybody!

I just found a very strange behavior in zsh (v5.0.8).

% [[ " X" =~ "X" ]]
where in " X" the first character is a non-breaking space (0xa0).
My shell gets stuck, and Ctrl-C is not working. With bash, no problem.

Does anyone have an explanation? I think it's a bug.

Regards,

-- 
Maxime



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