[#B0FB7E975E9642424B8AA33E9BE07A779B3D780D]

unreserved_chars

The unreserved character set

Synopsis

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

Description

Example

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

system::result< decode_view > rv = grammar::parse( "Program%20Files", pct_encoded_rule( unreserved_chars ) );

BNF

unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"

Specification

  • 2.3. Unreserved Characters (rfc3986)