Tolerate mixed case and leading zeroes when comparing.
This commit is contained in:
parent
3c2c4cc5f2
commit
2ecc150530
@ -881,7 +881,10 @@ sub next_line {
|
||||
s/\s+/ /g;
|
||||
# Delete trailing whitespace
|
||||
s/\s+$//;
|
||||
return $_;
|
||||
# Remove leading zeroes
|
||||
s/= 00/= /;
|
||||
# Translate to upper case
|
||||
return uc $_;
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user