[#boost-urls-pchars]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::pchars
:relfileprefix: ../../
:mrdocs:

The path character set

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/rfc/pchars.hpp#L45[boost&sol;url&sol;rfc&sol;pchars&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr auto pchars = unreserved&lowbar;chars &plus; sub&lowbar;delim&lowbar;chars &plus; &apos;&colon;&apos; &plus; &apos;@&apos;;
----

== Description

== Example
Character sets are used with rules and the functions xref:boost/urls/grammar/find_if.adoc[`grammar&colon;&colon;find&lowbar;if`] and xref:boost/urls/grammar/find_if_not.adoc[`grammar&colon;&colon;find&lowbar;if&lowbar;not`]&period;

[,cpp]
----
system::result< decode_view > rv = grammar::parse( "Program%20Files", pchars );
----
== BNF
[,cpp]
----
pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
----
== Specification
* https://datatracker.ietf.org/doc/html/rfc3986#section-3.3[]

== See Also

xref:boost/urls/grammar/find_if.adoc[`grammar&colon;&colon;find&lowbar;if`], xref:boost/urls/grammar/find_if_not.adoc[`grammar&colon;&colon;find&lowbar;if&lowbar;not`], xref:boost/urls/grammar/parse-09.adoc[`grammar&colon;&colon;parse`], xref:boost/urls/pct_encoded_rule.adoc[`pct&lowbar;encoded&lowbar;rule`]&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
