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

Pattern bug on (a*|)~^(*b)



In zsh 5.8.1 (x86_64-ubuntu-linux-gnu) with extended_glob,

[[ "ab" = (|a*)~^(*b) ]]

incorrectly (unless I'm mistaken) returns 1. However

[[ "ab" = (a*|)~^(*b) ]]

correctly returns 0.

--
Johan




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