Bug 799400 - incorrect perl-expressions matching unicode symbols
Summary: incorrect perl-expressions matching unicode symbols
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: grep
Version: 20
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1050919
TreeView+ depends on / blocked
 
Reported: 2012-03-02 16:32 UTC by Lukáš Zachar
Modified: 2014-01-09 10:48 UTC (History)
2 users (show)

Fixed In Version: grep-2.16-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1050919 (view as bug list)
Environment:
Last Closed: 2014-01-04 19:55:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lukáš Zachar 2012-03-02 16:32:05 UTC
Description of problem:
There is no difference between the run of 
# echo €€ | grep -P '\p{S}' 
€€
# echo €€ | grep -P '\P{S}'
€€

'pcregrep' works correctly:
# echo €€ | pcregrep -u '\p{S}'
€€
# echo €€ | pcregrep -u '\P{S}'
-empty-


Version-Release number of selected component (if applicable):
grep-2.10-2.fc17.x86_64

How reproducible:
always

Steps to Reproduce:
1. echo €€ | grep -P '\p{S}'
2. echo €€ | grep -P '\P{S}'
3.
  
Actual results:
€€
€€

Expected results:
€€
-empty-

Additional info:

Comment 1 Fedora End Of Life 2013-04-03 18:16:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Jaroslav Škarvada 2014-01-03 13:00:02 UTC
Moving to f20, feel free to comment if you need the fix back-ported to f19.

Comment 3 Fedora Update System 2014-01-03 13:01:42 UTC
grep-2.16-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2014-0042/grep-2.16-1.fc20

Comment 4 Fedora Update System 2014-01-04 19:55:07 UTC
grep-2.16-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.