MARCEDIT-L Archives

August 2016

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Andy Boze <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Wed, 3 Aug 2016 13:58:50 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
I'm trying to find records that contain two fields. I've used the video 
at <https://www.youtube.com/watch?v=qNJA9p2_-qU> for guidance, but my 
search doesn't seem to work as expected.

Let's say I want to find records containing a 008 field immediately 
followed by a 035 field. I would expect to get matches using the 
following regex.

=008.*\r\n=035/m

No match. Interestingly, when I try just

=008.*\r\n

I get no match. If I instead use

=008.*\z

I get a match for the entire 008 field. That's good. But if I try

=008.*\z=035/m

I get no match. In fact, if I try

=008.*\z/m

I get no match. So I'm wondering, is the /m no longer indicating a 
multi-field search? And does \r\n no longer indicate end of field, and 
\z must be used instead?

I'll just mention that what I really want to do is search for a 008 
field containing a character at a specific location, followed somewhere 
later by an 856 field containing a specific string. I'm sure I can 
figure that out if I can just get the example above with the 008 and 035 
fields to work.

Thanks for any assistance!

-- 
Andy Boze, Associate Librarian
University of Notre Dame
208 Hesburgh Library
(574) 631-8708

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

ATOM RSS1 RSS2