return string(temp[1])
}
+func isIp(input string) bool {
+ r := regexp.MustCompile("^[0-9]{1,3}\\.[0-9x]{1,3}\\.[0-9x]{1,3}\\.[0-9x]{1,3}$")
+ return r.Match([]byte(input))
+}
+
func isVersion(input string) bool {
r := regexp.MustCompile("^v?[0-9x]{1,3}\\.[0-9x]{1,3}(\\.[0-9x]{1,3})?$")
return r.Match([]byte(input))