def is_valid_url(name, url, **kwargs):
    if isinstance(url, list):
        return all([
            is_valid_url(name, item, **kwargs) for item in url
        ])
    if re.match(
        r'^(http|https|ftp)://([0-9A-Za-z_-]+)(\.[0-9a-zA-Z_-]+)*'
        r'(:\d+)?(/[0-9a-zA-Z_-]+)*$',
        url
    ):
        return True
    logging.debug(
        '%s invalid url %s', name, url
    )
    return False
Return a regular expression that matches phrases like "featuring"
dataset/ETHPy150Open openstack/compass-core/compass/db/validator.py/is_valid_url--crossover with--dataset/ETHPy150Open beetbox/beets/beets/plugins.py/feat_tokens