From: Jeremy Harris Date: Mon, 27 May 2024 11:31:47 +0000 (+0100) Subject: Testsuite: perl version oddity X-Git-Tag: exim-4.98-RC0~9 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/b66eb2387fe955529001a76daab428d6dfb50c89 Testsuite: perl version oddity Broken-by: 235ef8b38301 --- 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})/; ###############################################################################