regex [X-Z] with non-ascii char returns different results from (X|Y|Z)

Tomi Ollila tomi.ollila at
Thu Aug 22 12:53:34 PDT 2019

On Thu, Aug 22 2019, David Bremner wrote:

> "yury.t" <tptlab at> writes:
>> Thank you for your reply.
>> I confirmed that the issue is reproduced in C program. <>
>> Sorry for bothering you...
> I'm not sure, but it might be a glibc bug. Since we are already using
> glib, maybe we should use
> I don't know if it also has this problem with [] and non-ascii
> characters.

Since pcre2 supports \K that gives positive vibe about the above

( 'Resetting the match start' 
  in )


> d

More information about the notmuch mailing list