[#boost-urls-grammar-delim_rule-0a]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::delim&lowbar;rule
:relfileprefix: ../../../
:mrdocs:

`delim&lowbar;rule` overloads

== Synopses

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

Match a character literal


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
&sol;&ast; implementation-defined &ast;&sol;
xref:boost/urls/grammar/delim_rule-02.adoc[delim&lowbar;rule](char ch) noexcept;
----

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

Match a single character from a character 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/delim_rule-09.adoc[delim&lowbar;rule](CS const& cs) noexcept
requires ! std&colon;&colon;is&lowbar;convertible&lt;
        CS, char&gt;&colon;&colon;value;
----

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

== Return Value

* A rule which matches the character&period;
* A rule which matches a single character from the set&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ch*
| The character to match
| *cs*
| The character set to use&period;
|===

== See Also

xref:boost/urls/grammar/parse-09.adoc[`parse`], xref:boost/urls/grammar/squelch.adoc[`squelch`]&period;

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


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