Skip to main content

has_other_scheme

Function has_other_scheme 

Source
fn has_other_scheme(href: &str) -> bool
Expand description

href が http/https/about 以外のスキーム(data:・blob:・javascript:・mailto: 等)を 持つか。RFC 3986 のスキーム形式(先頭は英字、続けて英数字と +-.)で、: より前に /・?・# が無いものを指す。