0

I have autocomplete with 10 000+ items,
every item have 4 words,
and I want to match only the beginning of EVERY words in item

This RegExp match only beginning of every item:

var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( request.term ), "i" );   

Is here solution?

Wiktor Stribiżew
  • 607,720
  • 39
  • 448
  • 563
Peter
  • 89
  • 12

0 Answers0