[Bug 1456195] Re: Zero-minimum possessive groups does not match empty string

Launchpad Bug Tracker 1456195 at bugs.launchpad.net
Thu Apr 21 20:09:28 UTC 2016


This bug was fixed in the package pcre3 - 1:8.31-2ubuntu2.3

---------------
pcre3 (1:8.31-2ubuntu2.3) trusty; urgency=medium

  * Fix empty-matching possessive zero-repeat groups bug (LP: #1456195)

 -- Arne de Bruijn <ubuntu at 2ar.nl>  Wed, 13 Apr 2016 10:51:02 +0200

** Changed in: pcre3 (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1456195

Title:
  Zero-minimum possessive groups does not match empty string

Status in pcre3 package in Ubuntu:
  Fix Released
Status in pcre3 source package in Trusty:
  Fix Released
Status in pcre3 source package in Wily:
  Fix Released
Status in pcre3 source package in Xenial:
  Fix Released

Bug description:
  The 14.04/15.04 pcre version doesn't match some inputs with possessive
  qualfiers:

  $ echo '"a"'|pcregrep '("([^b"]*+(b.)?)*+")*+'
  $

  Earlier versions (10.04, 12.04):
  $ echo '"a"'|pcregrep '("([^b"]*+(b.)?)*+")*+'
  "a"
  $

  this is fixed with the following upstream commit (that applies cleanly
  to the 15.04 pcre):

  http://vcs.pcre.org/pcre?view=revision&revision=1478

  https://lists.exim.org/lurker/message/20140527.131833.2fd7547c.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1456195/+subscriptions



More information about the Ubuntu-sponsors mailing list