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

Arne de Bruijn ubuntu at 2ar.nl
Fri Mar 11 11:12:36 UTC 2016


Upstream patch ported to pcre 8.31 for 14.04

** Patch added: "pcre-8.31-zero-repeat-bug.patch"
   https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1456195/+attachment/4595890/+files/pcre-8.31-zero-repeat-bug.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1456195

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

Status in pcre3 package in Ubuntu:
  New

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 foundations-bugs mailing list