Open chorar opened 4 months ago
^(([01]?\d\d?|2[0-4]\d|25[0-5])((:([1-9]\d{0,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5]))?$|\.(?!$))){4}
0.0.0.0 应该不是一个合法ipv4地址
0.0.0.0
^(([01]?\d\d?|2[0-4]\d|25[0-5])((:([1-9]\d{0,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5]))?$|\.(?!$))){4}