const boost::regex regex_username_password(
"("
"(?:"
"[a-zA-Z0-9_.!~*'()&=+$,;?/-]++"
"|"
"%[0-9a-fA-F]{2}"
")+"
")"
"(?:" ":"
"("
"(?:"
"[a-zA-Z0-9_.!~*'()&=+$,-]++"
"|"
"%[0-9a-fA-F]{2}"
")*"
")"
")?"
"@"
);
snip2:
const boost::regex regex_url_params("\\s*;([^?>]++)");