def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def _compileddirpats(self):
        pat, matchfunc = _buildregexmatch(
            [("glob", p, "") for p in self._globdirpats], "$"
        )
        return matchfunc