Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: -pcre-match doesn't work since version 5.4.1
- X-seq: zsh-users 22811
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: nimaje+zml@xxxxxxxxxxxxxx
- Subject: Re: -pcre-match doesn't work since version 5.4.1
- Date: Thu, 10 Aug 2017 21:07:01 -0400
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201708; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jC9syT4dcG1hbecoAqFu1O3nBK6iHkzOia/1xcpp/PU=; b=Lb/59rOEtDhaeeJbaUocjJc/Ii gxj9pHPt1eULD/qYQlCZW87PWvm3xPkLfxUUgEwnlFIDfjZt4bPunFKWS5wl0U8+faWGFQSzh6HIX G6xMxBjAgFqtkTb0lqY2/8nswZqYGYs2tZwqYaAta6bKkRVeE2KU9mzOkdunc2FB3Uo3Epygtw5i/ Ygm+s8tIrrRXoWgvtegcdmGyraFy;
- In-reply-to: <86221c7e-aa71-28a7-21c2-8ed800090edd@bureaucracy.de>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Openpgp: url=https://www.security.spodhuis.org/PGP/keys/0x4D1E900E14C1CC04.asc
- References: <86221c7e-aa71-28a7-21c2-8ed800090edd@bureaucracy.de>
On 2017-08-11 at 00:29 +0200, nimaje+zml@xxxxxxxxxxxxxx wrote:
> after upgrading to version 5.4.1 I noticed that using -pcre-match doesn't
> work
>
> % zmodload zsh/pcre; [[ 'dxd' -pcre-match ^d+$ ]]
>
> zsh: unknown condition: -pcre-match
I see this too; none of the loadable infix operators seem to be working,
so it's not specific to the PCRE module. -regex-match doesn't work
either.
As a workaround, `setopt re_match_pcre` and then using =~ as the
operator does still work. (This is why I didn't immediately see the
breakage myself).
-Phil, occasional PCRE module tinkerer, who for once appears to not be
the cause of PCRE zsh problems. A pleasant change for me.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author