> 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 illustrating the bug?

Which test result do you get for the command example
“printf -- '\t\tif\n'|grep -E '^\s+[^i]'”?


* Does the tool “grep” output any extra colour information also for
  matched tab characters?

* Is the match marking just missing in the display from a “selection”
  of terminal programs for them?


A similar clarification attempt resulted in a bit of better understanding
for the software situation.
https://github.com/beyondgrep/ack2/issues/661

Regards,
Markus



Reply via email to