smarter finder for end-of-word