Subject: | |
From: | |
Reply To: | |
Date: | Wed, 3 Aug 2016 13:58:50 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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]
|
|
|