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: SF Markus Elfring
Subject: bug#30525: Unexpected matches for input data from a patch file
Date: Mon, 19 Feb 2018 15:32:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Hello,

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. Should unwanted characters be also excluded by such
a small regular expression here?

Regards,
Markus





reply via email to

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