Rule for absolute-URI
<boost/url/rfc/absolute_uri_rule.hpp>
inline constexpr /* implementation-defined */ absolute_uri_rule = {};
using value_type = url_view;
Rules are used with the function grammar::parse.
system::result< url_view > rv = grammar::parse( "http://example.com/index.htm?id=1", absolute_uri_rule );
absolute-URI    = scheme ":" hier-part [ "?" query ]
hier-part       = "//" authority path-abempty
                / path-absolute
                / path-rootless
                / path-empty