help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [bug] locale ctype not always honoured properly in pcre matching
Date: Tue, 20 Sep 2022 16:08:44 -0700	[thread overview]
Message-ID: <CAH+w=7YCobo8V2DiiuVVeQWB4uwc+rUuk=XVuAmU31RqRz9M8Q@mail.gmail.com> (raw)
In-Reply-To: <20220920135404.64r5fnrlgmgxogye@chazelas.org>

I'm not 100% sure, but I think this is because in Src/Modules/pcre.c
the state of UTF-8 parsing is cached and only changes when the
MULTIBYTE option is different upon re-entry.  Changing the locale
doesn't have that effect.

  reply	other threads:[~2022-09-20 23:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-20 13:54 Stephane Chazelas
2022-09-20 23:08 ` Bart Schaefer [this message]
2022-09-21 17:41   ` Jun. T

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7YCobo8V2DiiuVVeQWB4uwc+rUuk=XVuAmU31RqRz9M8Q@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \


* 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


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