:relfileprefix: ../../
[#boost-urls-pchars]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::pchars


The path character set


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/rfc/pchars.hpp#L45[boost/url/rfc/pchars.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
auto const pchars = unreserved_chars + sub_delim_chars + ':' + '@';
----

=== Description


=== Character sets are used with rules and

the functions
xref:boost/urls/grammar/find_if.adoc[grammar::find_if]
and
xref:boost/urls/grammar/find_if_not.adoc[grammar::find_if_not]
.
[,cpp]
----
system::result< decode_view > rv = grammar::parse( "Program%20Files", pchars );
----
[,cpp]
----
pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
----

* link:https://datatracker.ietf.org/doc/html/rfc3986#section-3.3[3.3. Path (rfc3986)]



=== See Also


xref:boost/urls/grammar/find_if.adoc[grammar::find_if]
,
xref:boost/urls/grammar/find_if_not.adoc[grammar::find_if_not]
,
xref:boost/urls/grammar/parse-02.adoc[grammar::parse]
,
xref:boost/urls/pct_encoded_rule.adoc[pct_encoded_rule]
.



