boost::urls::unreserved_chars

The unreserved character set

Synopsis

Declared in header <boost/url/rfc/unreserved_chars.hpp>

constexpr
grammar::lut_chars const unreserved_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    "abcdefghijklmnopqrstuvwxyz"
    "0123456789"
    "-._~";

Description

Character sets are used with rules and

system::result< decode_view > rv = grammar::parse( "Program%20Files", pct_encoded_rule( unreserved_chars ) );
unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"