pub fn is_video_url(url: &str) -> bool
Expand description
视频(video)链接地址(支持swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4格式)
§Examples
let url = String::from("http://ASD.COM/asd/asd");
let url_2 = String::from("http://baidu.com/ewe.mov");
assert_eq!(regex_collection::common::is_video_url(&url), false);
assert_eq!(regex_collection::common::is_video_url(&url_2), true);