boost::urls::grammar::hexdig_chars

The set of hexadecimal digits

Synopsis

Declared in header <boost/url/grammar/hexdig_chars.hpp>

constexpr
implementation-defined hexdig_chars = {};

Description

Example

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

system::result< core::string_view > rv = parse( "8086FC19", token_rule( hexdig_chars ) );

BNF

HEXDIG      = DIGIT
            / "A" / "B" / "C" / "D" / "E" / "F"
            / "a" / "b" / "c" / "d" / "e" / "f"
The RFCs are inconsistent on the case sensitivity of hexadecimal digits. Existing uses suggest case-insensitivity is a de-facto standard.