Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] PCRE match hangs when matching U+00A0
- X-seq: zsh-workers 39349
- From: Sebastian Reuße <seb@xxxxxxxxxxx>
- To: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- Subject: Re: [BUG] PCRE match hangs when matching U+00A0
- Date: Thu, 15 Sep 2016 18:23:57 +0200
- Authentication-results: mail.wirrsal.net; dmarc=none header.from=wirrsal.net
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wirrsal.net; s=wirrsal; t=1473956638; bh=Gsr7tJZpZtMtw8Vu6tjJh7vCMHO4X+fH/M7wxjxaSVM=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=Ph0uQX0Up9SDy0fxfUES2ZDq7xM1oRlRzPt3xREsq+XHCjkzqyKK91fb9pLcRkc6J gd7jwISs3UcNvAUwgAgoEMhsBNOImv1WUNQLyAimaiIgF9hxTFWcDIhTGM8M002ouQ /GohuJh3et9PQvb6MVcnAmQVXhSD9JUolU3Y4B5A=
- In-reply-to: <84139318-2075-451A-8052-E7682F92B06E@kba.biglobe.ne.jp>
- 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
- References: <87mvj9uxb9.fsf@wirrsal.net> <84139318-2075-451A-8052-E7682F92B06E@kba.biglobe.ne.jp>
Hello Jun,
Jun T. <takimoto-j@xxxxxxxxxxxxxxxxx> writes:
>> This may be reproduced by running the following:
>>
>> setopt rematchpcre
>> s=$(echo -en \\ua0)
>> [[ $s =~ . ]]
>
> This problem has been fixed by commit 5eae5b58, but not yet in the
> latest release. Could you please try the git HEAD if possible?
I built Zsh from the current HEAD and indee the issue does not come up
there. Thank you kindly for the pointer.
Best regards,
SR
Messages sorted by:
Reverse Date,
Date,
Thread,
Author