- ext
- clib
- socket.pl -- Network socket (TCP and UDP) library
- uid.pl -- User and group management on Unix systems
- unix.pl -- Unix specific operations
- syslog.pl
- filesex.pl -- Extended operations on files
- uri.pl -- Process URIs
- uri_components/2
- uri_data/3
- uri_data/4
- uri_normalized/2
- iri_normalized/2
- uri_normalized_iri/2
- uri_is_global/1
- uri_resolve/3
- uri_normalized/3
- iri_normalized/3
- uri_normalized_iri/3
- uri_query_components/2
- uri_authority_components/2
- uri_authority_data/3
- uri_encoded/3
- uri_iri/2
- uri_file_name/2
- uri_edit/3
- process.pl -- Create processes and redirect I/O
- sha.pl -- SHA secure hashes
- crypt.pl
- memfile.pl
- uuid.pl -- Universally Unique Identifier (UUID) Library
- time.pl -- Time and alarm library
- hash_stream.pl -- Maintain a hash on a stream
- md5.pl -- MD5 hashes
- cgi.pl
- desktop.pl
- rlimit.pl
- udp_broadcast.pl
- prolog_stream.pl
- streampool.pl -- Input multiplexing
- clib
- uri_components(+URI, -Components) is det
- uri_components(-URI, +Components) is det
- Break a URI into its 5 basic components according to the
RFC-3986 regular expression:
^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))? 12 3 4 5 6 7 8 9
If the schema is
urn, it is broken into its schema, NSI (Namespace Identifier) and NSS (Namespace Specific String).- Arguments:
-
Components - is a one of - uri_components(Scheme, Authority, Path, Search, Fragment)
- If a URI is parsed, i.e., using mode (+,-), components that are not found are left uninstantiated (variable). See uri_data/3 for accessing this structure.
- urn_components(Scheme, NID, NSS, Search, Fragment)
- Here Scheme is always
urn. Otherwise the same comments as for uri_components/5 apply.