data_collection/gazette/spiders/pe_recife.py
def _find_recife_editions(self, text):
        """
        Finds editions related to Recife's gazette.

        Filters out entries which are not exclusively related to Recife
        (e.g. "1-PoderExecutivo").
        """
        return (
            edition
            for edition in text.split("&")
            if re.search("prefeituradorecife", edition, re.IGNORECASE)
        )

        Finds editions related to Recife's gazette.

        Filters out entries which are not exclusively related to Recife
        (e.g. "1-PoderExecutivo").
        
Finds editions related to Recife's gazette.
Filters out entries which are not exclusively related to Recife
.
Finds editions related to Recife ' s gazette . Filters out entries which are not exclusively related to Recife .
def _find_recife_editions(self, text):
        return (
            edition
            for edition in text.split("&")
            if re.search("prefeituradorecife", edition, re.IGNORECASE)
        )
def _find_recife_editions ( self , text ) : return ( edition for edition in text . split ( "&" ) if re . search ( "prefeituradorecife" , edition , re . IGNORECASE ) )
Finds editions related to Recife's gazette.
Finds editions related to Recife ' s gazette .
"""
        Finds editions related to Recife's gazette.

        Filters out entries which are not exclusively related to Recife
        (e.g. "1-PoderExecutivo").
        """
self
text