Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def postcode_match(ft, i):

    for match, new_i in _sub_pc_match(ft, i):
        yield match, new_i

    if i > 0 and _RE_US_ZIP_PLUS4.match(ft.split[i]):
        for match, new_i in _sub_pc_match(ft, i - 1):
            yield match, new_i
        


src/f/e/fetegeo-HEAD/Geo/Free_Text.py   fetegeo(Download)
 
        if country_id == us_id or country_id is None:
            for sub_postcode, j in US.postcode_match(self, i):
                yield sub_postcode, j
 
 
        if country_id is not None and country_id != us_id:
            for sub_postcode, j in US.postcode_match(self, i):
                yield sub_postcode, j