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

Launchpad Bug Tracker 1456195 at bugs.launchpad.net
Thu Mar 31 12:35:35 UTC 2016


You have been subscribed to a public bug by Marc Deslauriers (mdeslaur):

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


** Tags: patch
-- 
Zero-minimum possessive groups does not match empty string
https://bugs.launchpad.net/bugs/1456195
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list