Skip to main content

is_uri

Function is_uri 

Source
pub fn is_uri(target: &str) -> bool
Expand description

Check if a target string is a URI (has a scheme per RFC 3986). A scheme is [a-zA-Z][a-zA-Z0-9+.-]*: — e.g., http:, mailto:, ftp:, tel:.