I've found that "git-grep --color -w VirtualKeybord" works not correct for string like: vkbd = RVirtualKeyboard(main_window, "VirtualKeyboard") My script in attachment reproduces this bug.