<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _run_listeners(self, line):
 """ Each listener's associated regular expression is matched against raw IRC input. If there is a match, the listener's associated function is called with all the regular expression's matched subgroups. """

        for regex, callbacks in self.listeners.iteritems():
            match = regex.match(line)

            if not match:
                continue

            for callback in callbacks:
                callback(*match.groups())