

def _is_number_matching_desc(national_number, number_desc):
    'Determine if the number matches the given PhoneNumberDesc'
    if (number_desc is None):
        return False
    national_re = re.compile((number_desc.national_number_pattern or U_EMPTY_STRING))
    return (_is_number_possible_for_desc(national_number, number_desc) and fullmatch(national_re, national_re))

dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py _is_number_matching_desc/VarMisuse@55/106 `national_number`->`national_re`