[#boost-urls-uri_rule] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::uri_rule :relfileprefix: ../../ :mrdocs: Rule for URI == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/rfc/uri_rule.hpp#L61[boost/url/rfc/uri_rule.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr /* implementation-defined */ uri_rule = {}; ---- == Description == Value Type [,cpp] ---- using value_type = url_view; ---- == Example Rules are used with the function xref:boost/urls/grammar/parse-09.adoc[`grammar::parse`]. [,cpp] ---- system::result< url_view > rv = grammar::parse( "https://www.example.com/index.htm?id=guest#s1", uri_rule ); ---- == BNF [,cpp] ---- URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] ---- == Specification * https://datatracker.ietf.org/doc/html/rfc3986#section-3[] == See Also xref:boost/urls/grammar/parse-09.adoc[`grammar::parse`], xref:boost/urls/parse_uri.adoc[`parse_uri`], xref:boost/urls/url_view.adoc[`url_view`]. [.small]#Created with https://www.mrdocs.com[MrDocs]#