def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def test_impl():
            A = StringArray(['ABC', 'BB', 'ADEF'])
            df = pd.DataFrame({'A': A})
            B = df.A.str.contains('AB*', regex=True)
            return B.sum()