MARCEDIT-L Archives

December 2011

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:
James Staub <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Mon, 5 Dec 2011 03:07:17 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Terry,

Thanks for the suggestion! I had mistakenly assumed that I couldn't use 
regular expressions in the task's Delete Field action, and I'm way too lazy to 
create 965 Delete actions. I think using regular expressions will take that 
down to about 40... 

More questions!

1. When I try to create a Delete Field action with the following in the Field box 
with Use Regular Expressions checked

(00[2-9]|01.|02[13-79]|0[3-9].|10[1-9]|11[2-9]|12.|13[1-9]|1[4-9].|20.|21
[35-9]|2[23].|24[1-489]|2[5-9].|3..|40[1-9]|41[2-9]|4[23].|44[1-9]|4[5-
9].|50[0-46-9]|5[1-9].|6..|70[1-9]|71[2-9]|72.|73[1-9]|74[1-9]|7[5-9].|80
[1-9]|81[2-9]|82.|83[1-9]|84[1-9]|8[5-9].|90[0-689]|9[1-3].|94[0-57-9]|9
[5-8].|99[0-79])

I get a System.ArgumentOutOfRangeException. The same is true of 

(00[2-9]|01.) 

Is that error expected behavior?

2. When I try to create a Delete Field action with the following in the Field box 
with Use Regular Expressions checked

00[2-9]

I get the message "Task has completed" but no tags appear to have been 
deleted. What am I not doing right?

More later,
James

________________________________________________________________________

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