Closed phazei closed 10 years ago
You are absolutly right about this... I'm not an author of this function and the funny is I never noticed that it works like this... I don't know what was the authors intention here. I'm just woried about that some people might have used to have a wildcard method like this, since this method was here from the begining... Can you make a pull request?
Maybe I don't understand what the wildcard method should do, but currently it makes it do a wildcard search for every single individual character that's typed in the search. If that's intentional then disregard this.
Otherwise, it seems it would make more sense that it would do a wildcard for every word searched for.
If the whole function were replaced with:
It would accomplish that.