<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def match_all_in(self, matches, item):
 """Matches all matches to elements of item."""

        for i, match in enumerate(matches):
            self.match(match, item + "[" + str(i) + "]")