PCRE Regression (major)

From: Date: Fri, 09 May 2014 18:55:08 +0000
Subject: PCRE Regression (major)
Groups: php.internals 
Request: Send a blank email to internals+get-74104@lists.php.net to get a copy of this message
I've been trying to make a habit of watching new bug reports and today this one came in: https://bugs.php.net/bug.php?id=67238 This is a pretty severe regression that should be fixed upstream. Felipe suggested I post it here. It's small enough I'll post the bug report here too: 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

« previous php.internals (#74104) next »