bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15773: grep-2.15 bug report


From: Jim Meyering
Subject: bug#15773: grep-2.15 bug report
Date: Thu, 31 Oct 2013 20:36:42 -0700

On Thu, Oct 31, 2013 at 2:55 PM, Jim Meyering <address@hidden> wrote:
> On Thu, Oct 31, 2013 at 10:46 AM, Mirraz Mirraz <address@hidden> wrote:
>>
>> After updating from 2.14 to 2.15 grep has started to fail to match patterns
>> that contain '\s*' or '\s\+'
>> For example:
>>
>> (grep-2.14)
>> $ echo '[ ]' | grep '\s*'
>> [ ]
>> $
>>
>> (grep-2.15)
>> $ echo '[ ]' | grep '\s*'
>> $
>
> Thank you for the report.
> That is clearly a regression.  That is now the most compelling (of 3)
> reasons to make a new release.

Here's a preliminary patch.
I'm about to write the test suite additions to accompany it:

Attachment: k.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]