X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=unicorn%2Funicorn_patrons_to_tsv.pl;fp=unicorn%2Funicorn_patrons_to_tsv.pl;h=12b4371cba42db7fffb7d82ebac2cf5d3013e5cc;hp=3f3d5e721e460b46abc5da3cb882b9ab4c15f730;hb=67a0e976a0dc1d9fba3216ee2ce0d5d320f90f70;hpb=7f3b467f2422108359910cb21db59bc4bf01c02a diff --git a/unicorn/unicorn_patrons_to_tsv.pl b/unicorn/unicorn_patrons_to_tsv.pl index 3f3d5e7..12b4371 100755 --- a/unicorn/unicorn_patrons_to_tsv.pl +++ b/unicorn/unicorn_patrons_to_tsv.pl @@ -175,7 +175,7 @@ for (my $u = 0; $u < @records; $u++) { } # Strip off a prefix, if there is one - foreach $prefix (qw( Ms. Mrs. Mr. Dr. )) { + foreach $prefix (qw( Ms\. Mrs\. Mr\. Dr\. )) { if ($temp_name =~ /$prefix /i) { $records[$u]{'l_prefix_name'} = $prefix; $temp_name =~ s/$prefix //i; @@ -183,7 +183,7 @@ for (my $u = 0; $u < @records; $u++) { } # Strip off a suffix, if there is one - foreach $suffix (qw( Jr. Sr. II III IV )) { + foreach $suffix (qw( Jr\. Jr Sr\. Sr II III IV )) { if ($temp_name =~ / $suffix/i) { $records[$u]{'l_suffix_name'} = $suffix; $temp_name =~ s/ $suffix//i;