Bug #76909 [ReO->Csd]: preg_match difference between 7.3 and < 7.3
| From: | ab@php.net | Date: | Fri, 21 Sep 2018 13:59:13 +0000 |
| Subject: | Bug #76909 [ReO->Csd]: preg_match difference between 7.3 and < 7.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217183@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76909&edit=1
ID: 76909
Updated by: ab@php.net
Reported by: jay at diablomedia dot com
Summary: preg_match difference between 7.3 and < 7.3
-Status: Re-Opened
+Status: Closed
Type: Bug
Package: PCRE related
Operating System: Linux
PHP Version: 7.3.0RC1
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7a02ecb7fef994332d83dae56ac5584d536f3de0
Log: Fixed bug #76909 preg_match difference between 7.3 and < 7.3
Previous Comments:
------------------------------------------------------------------------
[2018-09-21 11:12:55] requinix@php.net
Fixed upstream.
https://vcs.pcre.org/pcre2?view=revision&revision=1016
------------------------------------------------------------------------
[2018-09-21 07:57:42] requinix@php.net
For the record, I can reproduce with pcre2test. (The backslash is required to escape the leading
space.)
re> /^[\x{0100}-\x{017f}]{1,63}$/i,utf,jit=0
data> \ domain.com
No match
data>
re> /^[\x{0100}-\x{017f}]{1,63}$/i,utf,jit=1
data> \ domain.com
0: domain.com
------------------------------------------------------------------------
[2018-09-21 06:21:21] nikic@php.net
Reopening to track the update of the bundled libpcre2.
------------------------------------------------------------------------
[2018-09-20 23:29:06] requinix@php.net
Marking NAB and I'll watch what happens with that report.
------------------------------------------------------------------------
[2018-09-20 21:53:29] jay at diablomedia dot com
I filed a bug with PCRE: https://bugs.exim.org/show_bug.cgi?id=2321
I was able to confirm that disabling PCRE JIT does fix the issue.
------------------------------------------------------------------------
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=76909
--
Edit this bug report at https://bugs.php.net/bug.php?id=76909&edit=1