[#boost-urls-grammar-token_rule-00]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::token&lowbar;rule
:relfileprefix: ../../../
:mrdocs:

`token&lowbar;rule` overloads

== Synopses

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/token_rule.hpp#L93[boost&sol;url&sol;grammar&sol;token&lowbar;rule&period;hpp]&gt;`

Match a non&hyphen;empty string of characters from a default&hyphen;constructible set


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:boost/urls/grammar/CharSet.adoc[CharSet] CharSet&gt;
constexpr
&sol;&ast; implementation-defined &ast;&sol;
xref:boost/urls/grammar/token_rule-01.adoc[token&lowbar;rule]() noexcept
requires std&colon;&colon;is&lowbar;default&lowbar;constructible&lt;CharSet&gt;&colon;&colon;value;
----

[.small]#xref:boost/urls/grammar/token_rule-01.adoc[_» more&period;&period;&period;_]#

Match a non&hyphen;empty string of characters from a set


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:boost/urls/grammar/CharSet.adoc[CharSet] CS&gt;
constexpr
&sol;&ast; implementation-defined &ast;&sol;
xref:boost/urls/grammar/token_rule-08.adoc[token&lowbar;rule](CS const& cs) noexcept;
----

[.small]#xref:boost/urls/grammar/token_rule-08.adoc[_» more&period;&period;&period;_]#

== Return Value

The token rule

== Template Parameters

[cols="1,4"]
|===
| Name| Description
| *CharSet*
| The character set type to use
|===

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cs*
| The character set to use
|===

== See Also

xref:boost/urls/grammar/alpha_chars.adoc[`alpha&lowbar;chars`], xref:boost/urls/grammar/parse-09.adoc[`parse`]&period;


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