Bug 961789

Summary: pcregrep does match empty lines
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: pcreAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: c.david86, lkundrak, ppisar
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://bugs.exim.org/show_bug.cgi?id=1351
Whiteboard:
Fixed In Version: pcre-8.33-0.2.RC1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-30 06:07:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2013-05-10 12:00:29 UTC
petr@dhcp-0-146:/tmp $ cat >test

hello
petr@dhcp-0-146:/tmp $ grep '^$' test 

petr@dhcp-0-146:/tmp $ pcregrep '^$' test 
petr@dhcp-0-146:/tmp $ 
petr@dhcp-0-146:/tmp $ rpm -q pcre
pcre-8.31-4.fc18.x86_64

This bug has been reported to upstream <http://bugs.exim.org/show_bug.cgi?id=1351> and it has been fixed with SVN commit:

r1324 | ph10 | 2013-05-10 13:40:06 +0200 (Pá, 10 kvě 2013) | 2 lines
Fix pcregrep so that it can find empty lines.

The bug was there since pcre-7.9.

All Fedoras are affected.

Comment 1 Fedora Update System 2013-05-13 13:02:55 UTC
pcre-8.32-5.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/pcre-8.32-5.fc19

Comment 2 Fedora Update System 2013-05-13 14:30:44 UTC
pcre-8.31-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/pcre-8.31-5.fc18

Comment 3 Fedora Update System 2013-05-13 15:16:14 UTC
pcre-8.21-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/pcre-8.21-7.fc17

Comment 4 Fedora Update System 2013-05-16 11:56:16 UTC
pcre-8.32-6.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/pcre-8.32-6.fc19

Comment 5 Fedora Update System 2013-05-24 20:51:59 UTC
pcre-8.32-6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-05-29 01:00:55 UTC
pcre-8.31-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-05-29 01:02:17 UTC
pcre-8.21-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.