def preferredTypes(self, supported_types):
        return list(filter(self.preferred_auth_policies.__contains__,
                      supported_types))
Test regex matching on nodes.
dataset/ETHPy150Open necaris/python3-openid/openid/extensions/draft/pape5.py/Request.preferredTypes--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/test/unit/test_tgrep.py/TestSequenceFunctions.test_node_regex_2