MARCEDIT-L Archives

September 2010

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:
Bryan Baldus <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Thu, 30 Sep 2010 07:47:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
 On Thursday, September 30, 2010 7:13 AM, Liu, Iris wrote:
>I tried with this:
>Find what: (=001 ..)(.*ocm)([0-9]*)
>Replace with: =035  $a\n$0
>I always get "0 modifications were made"

If I understand correctly, for the Find box, =001 .. appears to be looking for 1 space followed by 2 anything, followed by 0 or more of anything, followed by ocm, followed by 0 or more digits. They are grouped $1 with the =001_.., $2 with .*ocm, $3 with the numbers. On the 1st grouping, there should probably not be a space after 001, since MarcEdit's 001 is followed by 2 spaces followed by the data, so, (=001..)(.*oc[mn])([0-9]*) would probably be what you want to match. ([mn] to account for OCLC's recent change in prefix for longer numbers).
Replace with =035  \\$a$3
(The existing replace with seems to be adding a line break (\n) before the whole match ($0) (I'm not exactly sure what $0 would be if there were a match). The \\ may need to be 4 \\ together rather than 2; without them, the 035 would lack the required 2 indicators.

I hope this helps,

Bryan Baldus
Cataloger
Quality Books Inc.
The Best of America's Independent Presses
1-800-323-4241x402
[log in to unmask]

________________________________________________________________________

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