Bug #79175 [Nab->ReO]: Different results between 7.3 and 7.4 when using \p{N} character property
| From: | nikic@php.net | Date: | Mon, 27 Jan 2020 19:25:54 +0000 |
| Subject: | Bug #79175 [Nab->ReO]: Different results between 7.3 and 7.4 when using \p{N} character property | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-225168@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79175&edit=1
ID: 79175
Updated by: nikic@php.net
Reported by: php at spamscan dot biz
Summary: Different results between 7.3 and 7.4 when using
\p{N} character property
-Status: Not a bug
+Status: Re-Opened
Type: Bug
Package: PCRE related
Operating System: Debian Linux
PHP Version: 7.4.2
Block user comment: N
Private report: N
New Comment:
Also still fails on master, which was recently upgraded to 10.34.
Previous Comments:
------------------------------------------------------------------------
[2020-01-27 19:12:33] php at spamscan dot biz
$> ./pcre2test -jit
PCRE2 version 10.34 2019-11-21
re> /[\p{Latin}\p{N}]+/
data> Text1234567890Text
0: Text
$> ./pcre2test
PCRE2 version 10.34 2019-11-21
re> /[\p{Latin}\p{N}]+/
data> Text1234567890Text
0: Text1234567890Text
still not working in v.10.43
------------------------------------------------------------------------
[2020-01-27 18:49:37] requinix@php.net
Looks like https://bugs.exim.org/show_bug.cgi?id=2432.
Can someone try building and testing with PCRE 10.34?
------------------------------------------------------------------------
[2020-01-27 17:01:11] bugreports at gmail dot com
and that's why the buldeled pcre libraries should really get updated not only within major
releases, there is an endless amount of fixed bugs upstream not talking about distribution specifix
fixes all the time
if you just look at the pcre/cpre2 changelog of Fedora you start to puke thinking that notihing or
only a minority of that stuff is fixed within PHP
------------------------------------------------------------------------
[2020-01-27 16:48:53] php at spamscan dot biz
yes, thats seems to be the problem:
$> ./pcre2test -jit
PCRE2 version 10.33 2019-04-16
re> /[\p{Latin}\p{N}]+/
data> Text1234567890Text
0: Text
$> ./pcre2test
PCRE2 version 10.33 2019-04-16
re> /[\p{Latin}\p{N}]+/
data> Text1234567890Text
0: Text1234567890Text
data>
------------------------------------------------------------------------
[2020-01-27 16:08:47] nikic@php.net
Works with pcre.jit=0, so I'd expect this to be a PCRE JIT bug.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79175
--
Edit this bug report at https://bugs.php.net/bug.php?id=79175&edit=1