1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-01-19 15:03:08 +00:00

process: Increase title limit

This commit is contained in:
Murch 2025-04-14 11:45:12 -07:00
parent 3fddf95984
commit fea4a0b0c5
No known key found for this signature in database
GPG Key ID: 7BA035CA5B901713

View File

@ -159,7 +159,7 @@ while (++$bipnum <= $topbip) {
} elsif ($field eq 'Title') {
$title = $val;
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};
die "$fn has too-long Title ($title_len > 50 char max)" if $title_len > 50 and not exists $TolerateTitleTooLong{$bipnum};
} elsif ($field eq 'Authors') {
$val =~ m/^(\S[^<@>]*\S) \<([^@>]*\@[\w.-]+\.\w+)\>$/ or die "Malformed Authors line in $fn";
my ($authorname, $authoremail) = ($1, $2);