[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: |
Wed, 28 Feb 2018 09:23:20 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
> 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