mirror of
https://github.com/bitcoin/bips.git
synced 2025-01-18 21:35:13 +01:00
CI: Allow dashes in author e-mail domain names
Signed-off-by: Dr. Maxim Orlovsky <orlovsky@pandoraprime.ch>
This commit is contained in:
parent
cdaccbedb5
commit
2f57890cbe
@ -127,7 +127,7 @@ while (++$bipnum <= $topbip) {
|
||||
my $title_len = length($title);
|
||||
die "$fn has too-long TItle ($title_len > 44 char max)" if $title_len > 44 and not exists $TolerateTitleTooLong{$bipnum};
|
||||
} elsif ($field eq 'Author') {
|
||||
$val =~ m/^(\S[^<@>]*\S) \<([^@>]*\@[\w.]+\.\w+)\>$/ or die "Malformed Author line in $fn";
|
||||
$val =~ m/^(\S[^<@>]*\S) \<([^@>]*\@[\w.-]+\.\w+)\>$/ or die "Malformed Author line in $fn";
|
||||
my ($authorname, $authoremail) = ($1, $2);
|
||||
$authoremail =~ s/(?<=\D)$bipnum(?=\D)/<BIPNUM>/g;
|
||||
$emails{$authorname}->{$authoremail} = undef;
|
||||
|
Loading…
Reference in New Issue
Block a user