Re: PCRE Regression (major)

From: Date: Fri, 09 May 2014 19:38:48 +0000
Subject: Re: PCRE Regression (major)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74105@lists.php.net to get a copy of this message
Hi Levi,

On Fri, May 9, 2014 20:55, Levi Morrison wrote:
> 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
>
>
the patch from the linked PCRE bug report looks fine. I'm going to apply
it to 5.5+ and add a test.

Thanks

anatol


Thread (2 messages)

« previous php.internals (#74105) next »