[jQuery] Autocomplete: matching on only part of the displayed text rather than entire row

[jQuery] Autocomplete: matching on only part of the displayed text rather than entire row


I'm working with the jQuery autocomplete plug-in and am trying to
implement a search box similar to the "Multiple Birds" input on the
following example site:
http://dev.jquery.com/view/trunk/plugins/autocomplete/
I haven't been able to figure out how the matching logic is applied
only to the bird's name rather than to the entire text string (which
also includes the id, or taxonomic name of the bird). For example:
Search for "cap" returns: Blackcap (id: Sylvia atricapilla)
Search for "syl" returns: <none>
Could someone please point out where this logic resides?
Thanks,
Mark