Add a method that annotates a search string with the pieces that match.