Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)
rfc3987 provides routines for parsing and validation of URIs (see RFC 3986) and IRIs (see RFC 3987).
rfc3987