fix #653 - improve * and # operators

If no match is found, the caret should be placed at the start of
the current word under it.
Merge pull request #657 from my-personal-forks/next

fix #653 - improve * and # operators