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

David Bremner david at tethera.net
Thu Aug 22 05:55:12 PDT 2019


"yury.t" <tptlab at tuta.io> writes:

> Thank you for your reply.
> I confirmed that the issue is reproduced in C program. https://pastebin.com/5NaCM45G <https://pastebin.com/5NaCM45G>
>
> 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

      https://developer.gnome.org/glib/stable/glib-Perl-compatible-regular-expressions.html

I don't know if it also has this problem with [] and non-ascii
characters.

d


More information about the notmuch mailing list