Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Regexp match bug in 5.0.8
- X-seq: zsh-workers 36363
- From: disarmer <disarmer.mk@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Regexp match bug in 5.0.8
- Date: Tue, 1 Sep 2015 13:09:47 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; bh=EkkaknOYNkORt7J/kdncfrwZSBAT7VyhzTLXE8CztG8=; b=X4yLZ8MKwSBe9mEdDSrk6uRUtXnfTZLyf8u0Fs+CBo0t0uI5wPkmFiB7iqeM0o7Xsx MdxbuMyHA5HSHgdhsiioEev9Q47AGniGn42vmRkqGKGNjGJkHX7KwLgIcMbWWxRRw5D1 LNOV7pI1HNEVxJkMD+MaVe82gulqP0GrYXtMVep6CslwY4EKgoJisBysAgb6KZCoWI6d rDhKynfKvaPOamlsw+cXez7t9ztDaX3oAiVGNesrMrT2QEpJiS9uijSkdAXwSQKEAjb/ 2ACLjSmJ9U0rB6ycaZI9DZwVDGVWeVKC6IT+wEuOX4D0V0jz4ZS+IbtmnKQYRpcTq8T6 rIqQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello!
It seems I found bug in zsh 5.0.8. If I run this code, shell goes to infinite cycle:
[[ "Р#" =~ '#' ]]
It breaks only with this letter («Р» is "CYRILLIC CAPITAL LETTER ER", 0x0420). It seems older versions(at least 5.0.5) and 5.1 are not vulnerable.
Locale is ru_RU.UTF-8.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author