yuku-t/jquery-textcomplete — pull request #86 by wcatron (2014-06-03 19:59:18+00:00)
Title: Select should only replace the matched text.

When using multiple capturing groups and the index parameter often times the non-capturing groups/groups outside of the specified index get consumed. This fixes that.