Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Pattern bug on (a*|)~^(*b)
- X-seq: zsh-workers 51989
- From: Johan Grande <nahoj@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Pattern bug on (a*|)~^(*b)
- Date: Tue, 25 Jul 2023 15:19:44 +0200
- Archived-at: <https://zsh.org/workers/51989>
- List-id: <zsh-workers.zsh.org>
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