[#boost-urls-grammar-token_rule-00] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::token_rule :relfileprefix: ../../../ :mrdocs: `token_rule` overloads == Synopses Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/token_rule.hpp#Lundefined[boost/url/grammar/token_rule.hpp]>` Match a non‐empty string of characters from a default‐constructible set [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:boost/urls/grammar/CharSet.adoc[CharSet] CharSet> constexpr /* implementation-defined */ xref:boost/urls/grammar/token_rule-01.adoc[token_rule]() noexcept requires std::is_default_constructible<CharSet>::value; ---- [.small]#xref:boost/urls/grammar/token_rule-01.adoc[_» more..._]# Match a non‐empty string of characters from a set [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:boost/urls/grammar/CharSet.adoc[CharSet] CS> constexpr /* implementation-defined */ xref:boost/urls/grammar/token_rule-08.adoc[token_rule](CS const& cs) noexcept; ---- [.small]#xref:boost/urls/grammar/token_rule-08.adoc[_» more..._]# == 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_chars`], xref:boost/urls/grammar/parse-09.adoc[`parse`]. [.small]#Created with https://www.mrdocs.com[MrDocs]#