pub fn is_url(url: &str) -> bool
Expand description
网址
§Examples
let url = String::from("http://baidu.com:8081");
let url_2 = String::from("http://baidu.com/asdf/#/234-123");
assert_eq!(regex_collection::common::is_url(&url), true);
assert_eq!(regex_collection::common::is_url(&url_2), true);