Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Add an option to prevent matching the returned values in valueMatches #44
My server is returning only the subset of values that match the search term. Furthermore, I want the match to occur on more that just the begining of the work (matches anywhere). So I don't want the callback to filter the matches for me.
This change allows passing an 'preserveMatches' option to the valueMatches callback. It prevents the callback from filtering the matches.