boost::urls::sub_delim_chars :: Boost Libraries Documentation

# boost::urls::sub_delim_chars

The sub‐delims character set

## Synopsis

Declared in `<boost/url/rfc/sub_delim_chars.hpp>`

    constexpr grammar::lut_chars sub_delim_chars = "!$&()*+,;=\x27";

## Description

## Example

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

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

## BNF

    sub-delims    = "!" / "$" / "&" / "'" / "(" / ")"
                  / "*" / "+" / "," / ";" / "="

## Specification

- https://datatracker.ietf.org/doc/html/rfc3986#section-2.2

## See Also

`grammar::find_if`, `grammar::find_if_not`, `grammar::parse`, `pct_encoded_rule`.

Created with MrDocs