Searching, part 1.

Most of this is just cut and pasted from charat2. Right now it just does wildcard search.