X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=marc_cleanup;fp=marc_cleanup;h=f978ef3d42fa808f71c229c7f0a0db184a5c4eb5;hp=3b2c2ed6c76ac4efbe73b82a45488c8015c83d19;hb=a5e1b131e101f84386fade9385dfc4f731b59ae1;hpb=cc369f7fb5b7927528ce3ad041f14686675a970f diff --git a/marc_cleanup b/marc_cleanup index 3b2c2ed..f978ef3 100755 --- a/marc_cleanup +++ b/marc_cleanup @@ -186,7 +186,7 @@ sub do_automated_cleanups { sub stow_record_data { # get tag data if we're looking at it my $tag = 0; - if ($record[$ptr] =~ m/<(control|data)field tag="(.{3})"/) { + if ($record[$ptr] =~ m/<(?:control|data)field tag="(.{3})"/) { $recmeta{tag} = $1; $tag = $recmeta{tag}; $record[$ptr] =~ m/ind1="(.)"/;