Parse a character buffer using a rule
Declared in <boost/url/grammar/parse.hpp>
template<Rule R>
constexpr
system::result<R::value_type>
parse(
core::string_view s,
R const& r);
This function parses a complete string into the specified sequence of rules. If the string is not completely consumed, an error is returned instead.
The parsed value upon success, otherwise an error.
| Name | Description |
|---|---|
| s | The input string |
| r | The rule to use |