Now handles subfield codes A-Z in addition to a-z (this is strictly speaking not...
authorBen Ostrowsky <ben@esilibrary.com>
Mon, 16 Jan 2012 18:22:59 +0000 (18:22 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Jul 2012 15:33:27 +0000 (11:33 -0400)
Equinox-Migration/lib/Equinox/Migration/SubfieldMapper.pm

index d67d11c..8716b18 100644 (file)
@@ -245,7 +245,7 @@ sub generate {
         $map->{tag}   = shift @tokens;
         while (defined (my $tok = shift @tokens)) {
             last if ($tok =~ m/^#/);
-            if ($tok =~ m/^[a-z]:'/ and $tok !~ /^'$/) {
+            if ($tok =~ m/^[a-zA-Z]:'/ and $tok !~ /^'$/) {
                 $tok .= ' ' . shift @tokens
                   until ($tokens[0] =~ m/'$/);
                 $tok .= ' ' . shift @tokens;