Skip to content

Commit

Permalink
CI: Allow dashes in author e-mail domain names
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 21, 2022
1 parent a863d52 commit ebdfe6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/buildtable.pl
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
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;
Expand Down

0 comments on commit ebdfe6c

Please sign in to comment.