git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
732f9b9
)
perl version oddity
author
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 20 May 2024 16:05:12 +0000
(17:05 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 20 May 2024 16:05:12 +0000
(17:05 +0100)
test/runtest
patch
|
blob
|
history
diff --git
a/test/runtest
b/test/runtest
index 27027bda91ecaa816ebded73cba91927255439c6..f626cb4ee16c6793c46d5fbc195b6adf4e31b3b2 100755
(executable)
--- 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_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}){,7}${re_6g}(?:::(?:${re_6s})
{,5}${re_6g})?/;
my $re_ip = qr/(?:${re_ipv4}|${re_ipv6})/;
###############################################################################
my $re_ip = qr/(?:${re_ipv4}|${re_ipv6})/;
###############################################################################