diff --git a/test_regress/t/t_dist_contributors.pl b/test_regress/t/t_dist_contributors.pl index e2aa1fa49..e8a092dd3 100755 --- a/test_regress/t/t_dist_contributors.pl +++ b/test_regress/t/t_dist_contributors.pl @@ -46,7 +46,7 @@ sub read_contributors { # Assumes git .mailmap format while (my $line = ($fh && $fh->getline)) { while ($line =~ /(.*)/g) { - $line =~ s/ *<[^>]+>//; + $line =~ s/ *<[^>]*>//; $Contributors{$1} = 1; } } @@ -73,7 +73,7 @@ sub read_authors { # Check recent commits in case did commit my $git_auths = `git log '--pretty=format:%aN <%aE>' | head -20`; foreach my $line (split /\n/, $git_auths) { - $line =~ s/ *<[^>]+>//; + $line =~ s/ *<[^>]*>//; $Authors{$line} = 1; } }