From e83202988ee9ed8fa74742984d9fcd02e93f5c04 Mon Sep 17 00:00:00 2001 From: Joe Cooper Date: Wed, 20 May 2026 20:51:26 -0500 Subject: [PATCH] Remove misleading backslash in regex --- bind8/records-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind8/records-lib.pl b/bind8/records-lib.pl index a16d2b9e9..9a28be1c6 100755 --- a/bind8/records-lib.pl +++ b/bind8/records-lib.pl @@ -757,7 +757,7 @@ return ((($wild && $config{'allow_wild'}) && ($name !~ /.\*/ || $bind_version >= 9) # "*" can be only the first # char, for bind 8 && ($name !~ /\*[^\.]/)) # a "." must always follow "*" - : ($name =~ /^[\A-Za-z0-9\-\.$u]+$/)) + : ($name =~ /^[A-Za-z0-9\-\.$u]+$/)) && ($name !~ /\.\./) # no ".." inside && ($name !~ /^\../) # no "." at the beginning && ($name !~ /^\-/) # no "-" at the beginning