tags +moreinfo
quit

On 31/01/2021 08:28, hamid wrote:
Version: 10.35-5+ubuntu18.04.1+deb.sury.org+1

This isn't a Debian version number, rather an Ubuntu one.

I had a conversation in php bugs 
(https://bugs.php.net/bug.php?id=79363&edit=2). According to the maintainer,
Ubuntu (I guess in that context means the maintainer of libpcre debian package) 
didn't backport a fix to
libpcre 10.35 which is necessary for jit to work correctly.
See https://bugs.php.net/bug.php?id=79846
and https://bugs.exim.org/show_bug.cgi?id=2621
This package is a dependency of php7.4-cli (ppa:ondrej/php).

So in the version in Debian testing (10.36-2), the reproducer I found in the bug report shows pcre working:

matthew@matkustaja:~$ printf '%s\n%s\n' '/_[a-z]+_*[a-z]+/' '_aa' | pcre2test -jit
PCRE2 version 10.36 2020-12-04
/_[a-z]+_*[a-z]+/
_aa
 0: _aa

So I think the problem here is that you need the Ubuntu maintainer of pcre2 to update to 10.36-2 (the version in Debian).

...which I think means you should be filing this report with Ubuntu not Debian?

Regards,

Matthew

Reply via email to