MARCEDIT-L Archives

July 2015

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:
Wed, 1 Jul 2015 17:13:15 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
On Wednesday, July 01, 2015 4:34 PM, Eddie Clem wrote:
>...and I tried it, but I am not very good at regular expressions, and my expected data change is not occurring when I run the task. Can anyone offer any suggestions on how I can improve the box below? I've circled in blue the change that I want to occur IF the 650 $v has Juvenile fiction.

Your If regex has "=650  ..\$v(Juvenile fiction\.)"

This is saying:
If : "=650" followed by 2 spaces followed by 2 of anything followed directly by a literal dollar-sign followed by v, then capture "Juvenile fiction." and store it to \1 (at least, that's what the parentheses around "Juvenile fiction\." usually would do).

The problem is that your expression expects $vJuvenile fiction to be the 1st subfield; since it is not (unless you have odd records), nothing will be changed.

I believe you intended:

If: =650.+\$vJuvenile fiction\.

You could also include the parentheses, but don't really need them:

If: =650.+\$v(Juvenile fiction\.)



I hope this helps,

Bryan Baldus
Senior 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