From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8183 invoked by alias); 11 Aug 2017 01:23:54 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22811 Received: (qmail 7174 invoked by uid 1010); 11 Aug 2017 01:23:54 -0000 X-Qmail-Scanner-Diagnostics: from mx.spodhuis.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(94.142.241.89):SA:0(-2.3/5.0):. Processed in 2.09608 secs); 11 Aug 2017 01:23:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: zsh-workers+phil.pennock@spodhuis.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | 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; Date: Thu, 10 Aug 2017 21:07:01 -0400 From: Phil Pennock To: nimaje+zml@bureaucracy.de Cc: zsh-users@zsh.org Subject: Re: -pcre-match doesn't work since version 5.4.1 Message-ID: <20170811010701.GA94571@tower.spodhuis.org> References: <86221c7e-aa71-28a7-21c2-8ed800090edd@bureaucracy.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86221c7e-aa71-28a7-21c2-8ed800090edd@bureaucracy.de> OpenPGP: url=https://www.security.spodhuis.org/PGP/keys/0x4D1E900E14C1CC04.asc On 2017-08-11 at 00:29 +0200, nimaje+zml@bureaucracy.de 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.