Hi,
As part of prepping for PCRE 10.48, I revised 10.47-2 in experimental,
and the glib2.0 tests failed:
https://debusine.debian.net/debian/developers/work-request/998509/
Following your reproducer at the top of this bug report (thank you!), I
am able to reproduce the failure - after
apt install libpcre2-8-0/experimental
/usr/libexec/installed-tests/glib/regex
fails as before:
# Compiling pattern /^(a)\g"3/ failed with error: Error while compiling
regular expression ?^(a)\g"3? at char 6: \g is not followed by a braced,
angle-bracketed, or quoted name or number, or by a plain number
ok 96 /regex/new-fail/78
**
ERROR:../../../glib/tests/regex.c:133:test_new_fail: assertion failed
(error == (g-regex-error-quark, 157)): Error while compiling regular
expression ?^(a)\g{3? at char 8: syntax error in subpattern number
(missing terminator?) (g-regex-error-quark, 0)
not ok /regex/new-fail/79 -
ERROR:../../../glib/tests/regex.c:133:test_new_fail: assertion failed
(error == (g-regex-error-quark, 157)): Error while compiling regular
expression ?^(a)\g{3? at char 8: syntax error in subpattern number
(missing terminator?) (g-regex-error-quark, 0)
Bail out!
Regards,
Matthew