pub fn is_base64(url: &str) -> bool
Expand description
base64格式
§Examples
let text = String::from("http://ASD.COM/asd/asd.psd");
let text_2 = String::from("data:image/gif;base64,dsafasdfasddGhpcyBpcyBhIGV4YW1wbGU=");
assert_eq!(regex_collection::common::is_base64(&text), false);
assert_eq!(regex_collection::common::is_base64(&text_2), true);