def external_link_urls_matching(self, regex, name=None):
        if not hasattr(regex, "pattern"):
            regex = re.compile(regex, re.I)

        if name is None:
            name = "{0}({1})" \
                   .format(self._name + ".external_link_urls_matching",
                           regex.pattern)

        return filters.regex_matching(regex, self.external_link_urls,
                                      name=name)
End serialization -- end the document.
dataset/ETHPy150Open wiki-ai/revscoring/revscoring/features/wikitext/datasources/parsed.py/Revision.external_link_urls_matching--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/django/core/serializers/xml_serializer.py/Serializer.end_serialization