Bug #70304 [Ana->Csd]: Regex not matching on PHP7

From: Date: Wed, 20 Jul 2016 23:01:10 +0000
Subject: Bug #70304 [Ana->Csd]: Regex not matching on PHP7
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202457@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70304&edit=1 ID: 70304 Updated by: cmb@php.net Reported by: giggsey at gmail dot com Summary: Regex not matching on PHP7 -Status: Analyzed +Status: Closed Type: Bug Package: PCRE related PHP Version: 7.0.0beta3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: For the record: this bug has been fixed as of libpcre 8.38 (and therefore as of PHP 7.0.3), see <https://3v4l.org/gdgLf>. Previous Comments: ------------------------------------------------------------------------ [2015-10-01 18:40:26] giggsey at gmail dot com Is this going to get included/fixed before PHP7 final? ------------------------------------------------------------------------ [2015-08-26 13:46:49] hzmester at freemail dot hu This is a corner case bug of range optimization in PCRE-JIT. I fixed it. Thank you for reporting it. ------------------------------------------------------------------------ [2015-08-21 01:25:09] cmb@php.net <http://markmail.org/thread/6bcffpbcobyi3ln7>, is not the problem here (otherwise $result would be FALSE). Actually, in this case pcre_exec() returns PCRE_ERROR_NOMATCH (and not PCRE_ERROR_JIT_STACKLIMIT). ------------------------------------------------------------------------ [2015-08-20 04:34:18] laruence@php.net see also: https://marc.info/?l=php-internals ------------------------------------------------------------------------ [2015-08-19 14:42:27] cmb@php.net That is somehow related to the PCRE JIT support. When pcre.jit=0, the behavior is as expected, see <https://3v4l.org/ZkeV6>. ------------------------------------------------------------------------ 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=70304 -- Edit this bug report at https://bugs.php.net/bug.php?id=70304&edit=1

« previous php.bugs (#202457) next »