Hello, @олег-выползов,
Just one question :
When you just mouse select this string $c_word, in current file, do you see, in the status bar, at the bottom of N++ window, the indication Sel 7|1 ?
If you get a value above 7, this would mean that the string $c_word, itself, contains one or several invisible chars !
Best Regards,
guy038