Opened 12 years ago

Closed 12 years ago

#6738 closed feature (notabug)

Word boundaries

Reported by: JohnG Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:

Description

I need an autocomplete-combobox with word boundaries matching

Using this http://jqueryui.com/demos/autocomplete/#combobox and this
http://bugs.jqueryui.com/ticket/6043

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

autocomplete finds the begging of an option, but

var matcher = new RegExp( '\\b'+$.ui.autocomplete.escapeRegex(term), "i" );

does not work.

Change History (1)

comment:1 Changed 12 years ago by Scott González

Resolution: invalid
Status: newclosed

We're not implementing any other matching algorithms. Please ask for help on the forums.

Note: See TracTickets for help on using tickets.