jquery/jquery-ui — pull request #600 by StuartMorris (2012-02-22 19:34:52+00:00)
Title: Modification of autocomplete behavior to restrict results to matches at beginning of string

modified autocomplete to accept searchFromBeginning as an option. this option modifies the regular expression handed to grep (for the filtering process) by prepending a caret so that regex matches are only returned that begin with our search term instead of those that contain the search term anywhere in the string.

the default behavior is the same as it was.