zsh-users
 help / color / mirror / code / Atom feed
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 22:11:22 -0400	[thread overview]
Message-ID: <20170811021122.GA95804@tower.spodhuis.org> (raw)
In-Reply-To: <20170811010701.GA94571@tower.spodhuis.org>

On 2017-08-10 at 21:07 -0400, Phil Pennock wrote:
> 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

> 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.

I took this to -workers and a patch has been posted.  A change in
tokenization logic accidentally broke lookup of conditionals where
there's a dash inside the conditional name.

No idea whether my patch or something else will be applied, but know
that what we have includes a regression test so that this one won't slip
through again.

> 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).

That workaround applies still.  And now we know why it works.  :)

-Phil


      reply	other threads:[~2017-08-11  2:11 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
2017-08-11  2:11   ` Phil Pennock [this message]

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=20170811021122.GA95804@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).