From 75246065391367a004ba25a02a02c0ec7adaf8ca Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sun, 17 Mar 2024 12:20:03 +0300 Subject: [PATCH] ignore less --- bibcop.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibcop.pl b/bibcop.pl index 574f090..08a0a57 100755 --- a/bibcop.pl +++ b/bibcop.pl @@ -579,7 +579,7 @@ sub fix_author { my @authors = split(/\s+and\s+/, $value); foreach my $author (@authors) { $author =~ s/^\s+|\s+$//g; - if (index($author, '{') != -1 or index($author, '}') != -1) { + if (index($author, ' {') != -1 or index($author, '} ') != -1) { next; } $author =~ s/ ([A-Z])($| )/ $1.$2/g;