Don't use a regexp to compare the name to the blurb, just convert them both to lower case before doing the comparison.

svn path=/trunk/; revision=34324
This commit is contained in:
Jeff Morriss 2010-10-02 01:47:16 +00:00
parent c39f840519
commit 4dc93213e3
1 changed files with 1 additions and 1 deletions

View File

@ -992,7 +992,7 @@ sub check_hf_entries($$)
if ($name eq $abbrev) {
print STDERR "Warning: the abbreviation for field $name matches the field name in $filename\n";
}
if ($name =~ m/$blurb/i) {
if (lc($name) eq lc($blurb)) {
print STDERR "Warning: the blurb for field $name ($abbrev) matches the field name in $filename\n";
}
if ($name =~ m/"\s+/) {