boost::urls::pchars :: Boost Libraries Documentation

# boost::urls::pchars

The path character set

## Synopsis

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

    constexpr auto pchars = unreserved_chars + sub_delim_chars + ':' + '@';

## 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", pchars );

## BNF

    pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"

## Specification

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

## See Also

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

Created with MrDocs