anzu
anzu copied to clipboard
anzu-isearch-query-replace: counter is wrong
- In a buffer containing
AB ab AB ab AB ab.
Perform an isearch-forward
for "ab" and the counter correctly shows 6 matches.
Then perform an anzu-isearch-query-replace
"ab" to "cd" and the counter shows 3 total matches but offers to replace 6 strings, (1/3), (2/3), (3/3), (4/3), (5/3), (6/3).
- In the same buffer perform
isearch-forward
for "AB" and the counter correctly shows 3 matches.
Then perform anzu-isearch-query-replace
"AB" to "cd" and the three "AB" strings are replaced but the counter shows (1/3), (3/3), (5/3).