]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Apply Miod's suggestions to the selectors doc
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 Feb 2025 12:23:34 +0000 (13:23 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2025 12:23:34 +0000 (13:23 +0100)
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
pdns/dnsdistdist/docs/reference/selectors.rst

index 13c706de897639b6d6e618765b3d653007a04cbe..abae49d006143d70ad60c7f37f395ac6e9329997 100644 (file)
@@ -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`.