Skip to content

Commit

Permalink
#107 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 3, 2024
1 parent eac7f5a commit 8c6de74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bibcop.pl
Expand Up @@ -166,7 +166,7 @@ sub check_author {
if ($name =~ /^[A-Z][^.]+$/) {
next
}
if ($name =~ /^(van|de)$/) {
if ($name =~ /^(van|de|der)$/) {
next
}
if ($name =~ /^[A-Z]$/) {
Expand Down
1 change: 1 addition & 0 deletions perl-tests/checks.pl
Expand Up @@ -98,6 +98,7 @@ package bibcop;
check_passes($f, ('author' => 'Monsalve Diaz, Jose M.'));
check_passes($f, ('author' => 'de Mattos Fortes, Renata Pontin'));
check_passes($f, ('author' => 'van Buren, Andre'));
check_passes($f, ('author' => 'van der Meulen, Meine J. P.'));

$f = 'check_capitalization';
check_fails($f, ('title' => 'The TeX book'));
Expand Down

0 comments on commit 8c6de74

Please sign in to comment.