47 std::regex uri_regex(
"([a-zA-Z][a-zA-Z0-9.+-]*)://(([^@:]*)(:([^@]+))?@)?([^/:?]+)(:([0-9]+))?(/[^?#]*)?(.*)");
48 std::smatch uri_match;
49 if (!std::regex_match(uriString, uri_match, uri_regex))
63 PortNum = n.empty()? 0: stoul(n);
std::string Password() const
Addon interface definition GNU LGPL.
std::string Scheme() const
void Initialize(const std::string &uriString)
#define THROW_ERROR1(data, param1)
Common::ErrorData CannotParseUri