The problem is that KM cannot determine the characters surrounding the text cursor. Hence the issue at the punctuation characters:
Is there a way to handle the punctuation characters?
For more information, see the wiki Searching the Forum for Answers section.