IsSearchWordRune simpler.

Change-Id: I9d2e890b9afcfb524aafa8f1e4e1debc683555ac