Trim space on input to make searching more robust.

R=rsc, r, gri
CC=golang-dev
https://golang.org/cl/186255
1 file changed