URI functions

This script defines some URI and IRI related functions which I often need. Many of them are directly based on specifications. (RFC 3986, RFC 3987)

Documentation is provided in form of source code comments.