Hello,
Look at the one-line change I've done. It's way better. It also has a wildcard in it, for instance for the test * of it. Alternatively, it might be possible to remove the * and to have the user use wildcards. Maybe that's better.
As I said, disclaimers and stuff - it might break stuff. But it also shows potential. On an indexing site, search is bread and butter and this is a massive improvement - but only if it works correctly. I would feel so much better myself if a "real coder" could do this properly! So please people, have a look!
Cheers
Styx