isIp property

bool get isIp

是否是ip地址

Implementation

bool get isIp => hasMatch(
    "((2[0-4]\\d|25[0-5]|[01]?\\d\\d?)\\.){3}(2[0-4]\\d|25[0-5]|[01]?\\d\\d?)");