def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def matchfn(self, f):
        for match in self._matchers:
            if match(f):
                return True
        return False