Skip to main content

Search and Top Navigation

#6738 closed feature (notabug)

Opened December 09, 2010 03:06PM UTC

Closed December 09, 2010 03:15PM UTC

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.

Attachments (0)
Change History (1)

Changed December 09, 2010 03:15PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

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