:relfileprefix: ../../
[#D95F99F5E71EA6A6D94676BA185706AF2D5DCC3B]

= pchars

pass:v,q[The path character set]


== Synopsis

Declared in header `</boost/url/rfc/pchars.hpp#L45[boost/url/rfc/pchars.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/lut_chars.adoc[lut_chars] pchars;
----

== Description


=== Example
pass:v,q[Character sets are used with rules and] pass:v,q[the functions]
xref:boost/urls/grammar/find_if.adoc[grammar::find_if]
pass:v,q[and]
xref:boost/urls/grammar/find_if_not.adoc[grammar::find_if_not.]
[,cpp]
----
system::result< decode_view > rv = grammar::parse( "Program%20Files", pchars );
----

=== BNF
[,cpp]
----
pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
----

=== Specification

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


