reinh / jquery-autocomplete

jQuery Autocomplete plugin
http://reinh.github.com/jquery-autocomplete
96 stars 20 forks source link

Perhaps adjust matcher to default to case-insensitive matching #5

Open farinspace opened 14 years ago

farinspace commented 14 years ago

return new RegExp(typed, 'i');

I know you can override the matcher function at runtime through the settings, but this really tripped me up when I was first used the demo page to see if this solution was viable. My first impression was that something was broken, as I typed in "lon" vs "Lon" on the London example.

reinh commented 14 years ago

Good call.