From: Remi Gacogne Date: Mon, 3 Feb 2025 12:23:34 +0000 (+0100) Subject: dnsdist: Apply Miod's suggestions to the selectors doc X-Git-Tag: dnsdist-2.0.0-alpha1~130^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=709b1fb9247393474388bd5742144065c4961cfa;p=thirdparty%2Fpdns.git dnsdist: Apply Miod's suggestions to the selectors doc Co-authored-by: Miod Vallat --- diff --git a/pdns/dnsdistdist/docs/reference/selectors.rst b/pdns/dnsdistdist/docs/reference/selectors.rst index 13c706de89..abae49d006 100644 --- a/pdns/dnsdistdist/docs/reference/selectors.rst +++ b/pdns/dnsdistdist/docs/reference/selectors.rst @@ -331,7 +331,7 @@ Selectors can be combined via :func:`AndRule`, :func:`OrRule` and :func:`NotRule .. function:: RE2Rule(regex) - Matches the query name against the supplied regex using the RE2 engine. Note that this rule requires a full match of the query name, meaning that for example the ``powerdns`` expression with match a query name of ``powerdns`` but not ``prefixpowerdns``, ``sub.powerdns``, ``powerdnssuffix`` or ``powerdns.tld``. In short, the expression is treated as if it started with a ``^`` and ended with a ``$``. + Matches the query name against the supplied regex using the RE2 engine. Note that this rule requires a full match of the query name, meaning that for example the ``powerdns`` expression will match a query name of ``powerdns`` but neither``prefixpowerdns``, ``sub.powerdns``, ``powerdnssuffix`` nor ``powerdns.tld``. In short, the expression is processed as if it started with a ``^`` and ended with a ``$``. For an example of usage, see :func:`RegexRule`.