[exim-cvs] perl version oddity

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim Git Commits Mailing List
日付:  
To: exim-cvs
題目: [exim-cvs] perl version oddity
Gitweb: https://git.exim.org/exim.git/commitdiff/fd0a407eb80151d554a057eca8965abcbfd9a7a1
Commit:     fd0a407eb80151d554a057eca8965abcbfd9a7a1
Parent:     732f9b98e5b47b1ddf312f41c03060f1279be5fb
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon May 20 17:05:12 2024 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon May 20 17:05:12 2024 +0100


    perl version oddity
---
 test/runtest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/test/runtest b/test/runtest
index 27027bda9..f626cb4ee 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}){,7}${re_6g}(?:::(?:${re_6s}){,5}${re_6g})?/;
my $re_ip = qr/(?:${re_ipv4}|${re_ipv6})/;

###############################################################################

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/