Closed philogit closed 8 years ago
Yes. I'll add some configuration in next release with case sensitive/insensitive choice.
My option is to change
var regpat = RegExp( this._regExpEscape(pattern));
to
var regpat = RegExp( this._regExpEscape(pattern), "i");
so as to have a case insensitive search.
That works perfectly. Cheers!
Thank you for your great work on this plugin. One suggestion: Make it so that the completion object returns results regardless of the case (upper or lower) of the user's input.
Changing
regpat.test( listChoice[i] )
toregpat.test( listChoice[i].toLowerCase() )
within completion.js changed the behavior for me.Thanks!