Skip to content

stream search: fix match count

Warren Gifford requested to merge sh/fix-matchCount into main

Created by: stefanhengl

search -stream showed the number of lines that contain matches instead of the number of matches. This makes a difference whenever we have more than one match on the same line.

The tests didn't catch it, so I updated them as well.

Before: Screenshot 2021-08-19 at 08 42 10

After: Screenshot 2021-08-19 at 08 39 46

Merge request reports

Loading