pub fn is_url_with_port(url: &str) -> bool
Expand description
必须带端口号的网址(或ip)
§Examples
let url = String::from("http://baidu.com:8081");
let url_2 = String::from("http://baidu.com");
assert_eq!(regex_collection::common::is_url_with_port(&url), true);
assert_eq!(regex_collection::common::is_url_with_port(&url_2), false);