← Back to team overview

touch-packages team mailing list archive

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

 

Public bug reported:

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

** Affects: pcre3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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


Follow ups

References