Home | Libraries | People | FAQ | More |
Match a non-empty string of characters from a set.
Defined in header <boost/url/grammar/token_rule.hpp>
template< class CharSet> constexpr implementation-defined token_rule( CharSet cs);
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( "abcdef", token_rule( alpha_chars ) );
token = 1*( ch )
Name |
Description |
---|---|
|
The character set to use |
Convenience header <boost/url/grammar.hpp>