Skip to content

Commit

Permalink
Ensure HMS is always in capital letters
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 16, 2023
1 parent 71818d7 commit 4f5766c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -11950,6 +11950,7 @@ sub append_notes
$notes = lcfirst($notes) unless($notes =~ /^(RAF|Royal Navy|Royal Flying Corps)/);
$notes =~ s/[\s\.]+$//;
$notes =~ tr/\r//;
$notes =~ s/hms /HMS /ig;
# Parse service information
if($notes =~ /^regiment:\s+(.+)/i) {
my $regiment = $1;
Expand Down

0 comments on commit 4f5766c

Please sign in to comment.