fix #653 - improve * and # operators

If no match is found, the caret should be placed at the start of
the current word under it.