python ipv6 正則校驗

def ipv6_check(addr): ''' Returns True if the IPv6 address (and optional subnet) are valid, otherwise returns False. ''' ip6_regex = ( r'(^(?:[A-F0-9]{1,4}:){7}[A-F
相關文章
相關標籤/搜索