From b66eb2387fe955529001a76daab428d6dfb50c89 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 27 May 2024 12:31:47 +0100 Subject: [PATCH 1/1] Testsuite: perl version oddity Broken-by: 235ef8b38301 --- test/runtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtest b/test/runtest index 3fe7fe044..b959107c1 100755 --- a/test/runtest +++ b/test/runtest @@ -120,7 +120,7 @@ my $parm_hostname; my $re_ipv4 = qr/\d{1,3}(?:\.\d{1,3}){3}/; my $re_6g = qr/[[:xdigit:]]{1,4}/; my $re_6s = qr/${re_6g}:/; -my $re_ipv6 = qr/${re_6s}{,7}${re_6g}(?:::${re_6s}{,5}${re_6g})?/; +my $re_ipv6 = qr/${re_6s}{0,7}${re_6g}(?:::${re_6s}{0,5}${re_6g})?/; my $re_ip = qr/(?:${re_ipv4}|${re_ipv6})/; ############################################################################### -- 2.30.2