From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: nimaje+zml@bureaucracy.de
Cc: zsh-users@zsh.org
Subject: Re: -pcre-match doesn't work since version 5.4.1
Date: Thu, 10 Aug 2017 21:07:01 -0400 [thread overview]
Message-ID: <20170811010701.GA94571@tower.spodhuis.org> (raw)
In-Reply-To: <86221c7e-aa71-28a7-21c2-8ed800090edd@bureaucracy.de>
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.
next prev parent reply other threads:[~2017-08-11 1:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 22:29 nimaje+zml
2017-08-11 1:07 ` Phil Pennock [this message]
2017-08-11 2:11 ` Phil Pennock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170811010701.GA94571@tower.spodhuis.org \
--to=zsh-workers+phil.pennock@spodhuis.org \
--cc=nimaje+zml@bureaucracy.de \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).