The set of decimal digits
<boost/url/grammar/digit_chars.hpp>
constexpr /* implementation-defined */ digit_chars = {};
Character sets are used with rules and the functions find_if and find_if_not.
system::result< core::string_view > rv = parse( "2022", token_rule( digit_chars ) );
DIGIT = %x30-39
; 0-9