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 suc
> I assume it's because the if-lines match the regular expression in question,
> which is as it should be.
I got other expectations for a desired software behaviour.
I should take possessive quantifiers (or atomic grouping) better into account.
> If not, could you give a self-contained example
> and this is the correct answer.
This view is appropriate for the core functionality.
>> * Does the tool “grep” output any extra colour information also for
>> matched tab characters?
>
> Not with that test case, no.
I am still unsure.
> There is no color information at all.
I suggest t
> I believe there are actually several different issues here,
Yes. - I agree.
> perhaps it's worth stating them explicitly to ensure we're
> on the same page.
I thank you for your very detailed answer.
> Grep's default coloring is red text and default background.
This setting can be fine in