pat => qr/^$item_barcode$/o,
required => 1, },
{ field => FID_TITLE_ID,
- pat => qr/^$item_title$/o,
+ pat => qr/^$item_title\s*$/o,
required => 1, },
{ field => FID_DUE_DATE,
pat => $textpat,
if ($field->{field} eq FID_ITEM_ID) {
$field->{pat} = qr/^$item_diacritic_barcode$/;
} elsif ($field->{field} eq FID_TITLE_ID) {
- $field->{pat} = qr/^$item_diacritic_title$/;
+ $field->{pat} = qr/^$item_diacritic_title\s*$/;
} elsif ($field->{field} eq FID_OWNER) {
$field->{pat} = qr/^$item_diacritic_owner$/;
}
pat => qr/^$item_barcode$/o,
required => 1, },
{ field => FID_TITLE_ID,
- pat => qr/^$item_title$/o,
+ pat => qr/^$item_title\s*$/o,
required => 1, },
{ field => FID_DUE_DATE,
pat => qr/^$/,
pat => $textpat,
required => 1, },
{ field => FID_TITLE_ID,
- pat => qr/^$item_title$/o,
+ pat => qr/^$item_title\s*$/o,
required => 1, }, # not required by the spec.
],};
pat => qr/^$item_barcode$/,
required => 1, },
{ field => FID_TITLE_ID,
- pat => qr/^$item_title$/,
+ pat => qr/^$item_title\s*$/,
required => 1, },
{ field => FID_DUE_DATE,
pat => qr/^$datepat$/,
if ($field->{field} eq FID_DUE_DATE) {
$field->{pat} = qr/^$/;
} elsif ($field->{field} eq FID_TITLE_ID) {
- $field->{pat} = qr/^($item_title|)$/;
+ $field->{pat} = qr/^($item_title\s*|)$/;
}
}
} elsif ($field->{field} eq FID_PATRON_ID) {
$field->{pat} = qr/^berick$/;
} elsif ($field->{field} eq FID_TITLE_ID) {
- $field->{pat} = qr/^($item_title|)$/;
+ $field->{pat} = qr/^($item_title\s*|)$/;
}
}
pat => qr/^$item_barcode$/,
required => 1, },
{ field => FID_TITLE_ID,
- pat => qr/^$item_title$/,
+ pat => qr/^$item_title\s*$/,
required => 1, },
{ field => FID_MEDIA_TYPE,
pat => qr/^\d{3}$/,