Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

grammar::digit_chars

The set of decimal digits.

Synopsis

Defined in header <boost/url/grammar/digit_chars.hpp>

constexpr implementation-defined digit_chars;
Example

Character sets are used with rules and the functions find_if and find_if_not.

system::result< core::string_view > rv = [link url.ref.boost__urls__grammar__parse `parse`]( "2022" , [link url.ref.boost__urls__grammar__token_rule `token_rule`]( [link url.ref.boost__urls__grammar__digit_chars `digit_chars`] ) );
BNF
DIGIT       = %x30-39
            ; 0-9
Specification
See Also

find_if, find_if_not, parse, token_rule.

Convenience header <boost/url/grammar.hpp>


PrevUpHomeNext