Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74104 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40506 invoked from network); 9 May 2014 18:55:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2014 18:55:14 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:36802] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/69-15882-F842D635 for ; Fri, 09 May 2014 14:55:12 -0400 Received: by mail-ob0-f170.google.com with SMTP id uy5so5355621obc.1 for ; Fri, 09 May 2014 11:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=q2kvGreJrN5YrpuiCv36BIKGW1zQWKLu3Us8I7AzYoQ=; b=KHEApOF6nVYQY71S5A2WPRPnujWI2+OuVvPHf44rqD0YDh8zJ2qXvKwGpiPXFO8VDJ 0Nm3ZkqqTRg0m3ahXuff/V+XZw7P690eVUiRor3Udc0VpCRDxZksK2DvZX6XgHbmtWgF l0gPEB4n5egejdajfAt+WX/5ip2ljrEMc20KBT6sqMaySePZ0jCD10GvCPVibMLKylVE zvNze1yuGosjCnKXVp6aIOmrvI5jLiQr40CcUBsubCvdbK/LcWfDFhZAfTyE8Xd/72Ez EcmVEUNgKk4Ag0dkKx9FnLFd45MgS/KTs7yFyfV/x+8w4ck/vp/uDdKq/a7RGCnhAjt7 /Daw== MIME-Version: 1.0 X-Received: by 10.60.39.103 with SMTP id o7mr16579107oek.17.1399661708447; Fri, 09 May 2014 11:55:08 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.76.77.100 with HTTP; Fri, 9 May 2014 11:55:08 -0700 (PDT) Date: Fri, 9 May 2014 12:55:08 -0600 X-Google-Sender-Auth: AIraQKxxwa6sKGj82yQu0zssccA Message-ID: To: internals Content-Type: multipart/alternative; boundary=089e013cba44f0175504f8fc2239 Subject: PCRE Regression (major) From: levim@php.net (Levi Morrison) --089e013cba44f0175504f8fc2239 Content-Type: text/plain; charset=UTF-8 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 --089e013cba44f0175504f8fc2239--