Bug #67238 [Asn->Csd]: Ungreedy and min/max quantifier bug in PCRE 8.34 upstream

From: Date: Fri, 09 May 2014 20:20:41 +0000
Subject: Bug #67238 [Asn->Csd]: Ungreedy and min/max quantifier bug in PCRE 8.34 upstream
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185745@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67238&edit=1 ID: 67238 Updated by: ab@php.net Reported by: daniel at milde dot cz Summary: Ungreedy and min/max quantifier bug in PCRE 8.34 upstream -Status: Assigned +Status: Closed Type: Bug Package: PCRE related Operating System: Linux PHP Version: 5.5.12 Assigned To: ab Block user comment: N Private report: N New Comment: Fixed in c62f32c3cc6e85a525dd959bd821c754b9c20e63, thanks for reporting. Previous Comments: ------------------------------------------------------------------------ [2014-05-09 09:07:39] daniel at milde dot cz Description: ------------ There is bug causing min/max quantifiers to not work in ungreedy mode in PCRE 8.34. http://bugs.exim.org/show_bug.cgi?id=1451 Bug is fixed in PCRE 8.35. Test script: --------------- echo preg_match('/a{1,3}b/U', 'ab'); Expected result: ---------------- 1 Actual result: -------------- 0 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67238&edit=1

« previous php.bugs (#185745) next »