Home | Libraries | People | FAQ | More |
Match a character literal.
Defined in header <boost/url/grammar/delim_rule.hpp>
constexpr implementation-defined delim_rule( char ch);
This matches the specified character. The value is a reference to the character
in the underlying buffer, expressed as a string_view
. The function squelch
may be used to turn this into void
instead. If there is no more input, the error code error::need_more
is returned.
using value_type = string_view;
Rules are used with the function parse
.
result< string_view > rv = parse( ".", delim_rule('.') );
char = %00-FF
Name |
Description |
---|---|
|
The character to match |
Convenience header <boost/url/grammar.hpp>