bug-grep
[Top][All Lists]
Advanced

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

bug#30525: Unexpected matches for input data from a patch file


From: Paul Eggert
Subject: bug#30525: Unexpected matches for input data from a patch file
Date: Mon, 19 Feb 2018 12:16:25 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

SF Markus Elfring wrote:
I have tried the command “`printf -- '-\tif\n'|grep -E '^-\s+[^i]'`” out
with the version “3.1-1.4”. I get no match which I expect in this use case.

But I wonder why matches are displayed when if lines are passed from
a patch file instead.

I assume it's because the if-lines match the regular expression in question, which is as it should be. If not, could you give a self-contained example illustrating the bug? Thanks.





reply via email to

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