GNOME Bugzilla – Bug 689791
update to pcre 8.35+
Last modified: 2018-05-24 14:53:11 UTC
PCRE 8.32 has just been released. Apart from many bug fixes, it has improved unicode case-insensitive matching, and now supports \X. The update is not trivial since it depends on bug 684222 for the unicode grapheme cluster data, and it also will also need to access the internal special casing table from glib. I may have to rewrite how PCRE accesses the glib unicode data for that...
Also, some tests are failing with a system PCRE 8.35: Bug #733325.
PCRE 8.38 was recently uploaded to Debian, and the GLib installed-tests are failing (with a previously-compiled GLib now linked at runtime to the new PCRE): ERROR:/build/glib2.0-ocmJ1Y/glib2.0-2.46.2/./glib/tests/regex.c:129:test_new_fail: assertion failed (error == (g-regex-error-quark, 142)): Error while compiling regular expression (?(?<ab)) at char 3: assertion expected after (?( (g-regex-error-quark, 128) I haven't yet investigated whether this is a PCRE or GLib bug. If it seems to be GLib's fault, I'll open a separate bug for that.
That's due to a bug fix in pcre: svn://vcs.exim.org/pcre/code/trunk@1539
(In reply to Simon McVittie from comment #2) > I haven't yet investigated whether this is a PCRE or GLib bug. If it seems > to be GLib's fault, I'll open a separate bug for that. Bug #759808
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/642.