I came across some weird behavior. When there is a NUL character in the string and the string includes a phrase multiple times, then searching for that phrase will highlight the last appearance of that phrase as match, instead of the first one.
This highlights the last appearance of Test in the interactive finder.
echo "\0Test Test Test" | sk -q Test
This highlights the first appearance of Test in the interactive finder.
Hello,
I came across some weird behavior. When there is a NUL character in the string and the string includes a phrase multiple times, then searching for that phrase will highlight the last appearance of that phrase as match, instead of the first one.
This highlights the last appearance of
Test
in the interactive finder.This highlights the first appearance of
Test
in the interactive finder.That seems like a bug to me, but I am not sure.