Searching for "foo" should also find occurrence of "foo.bar"