Support search patterns containing spaces

Passing $@ without quotes causes bash to split the arguments into individual words. Surrounding it in quotes causes bash to keeps the same number of arguments as before.