MARCEDIT-L Archives

March 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:
"Reese, Terry" <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Mon, 7 Mar 2011 13:19:03 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
I believe what you want is:  "^.{7}i"
If you just have .{7} -- the match  is for anywhere in the string that has 7 characters then an i.  If you want to match the first 7, then you'd add the ^ to the start to tell the regular expression engine to start matching at byte 0.

--TR

> -----Original Message-----
> From: MarcEdit support in technical and instructional matters
> [mailto:[log in to unmask]] On Behalf Of Timothy M. McCarthy
> Sent: Monday, March 07, 2011 12:42 PM
> To: [log in to unmask]
> Subject: [MARCEDIT-L] Extract selected records
> 
> Hi,
> 
> I was trying to extract integrated resource records from a Marcive file using
> the special regular expression ".{7}i" to search the LDR field byte 07.  But the
> result gave me two records, one a true integrated resource (LDR/07=i), the
> other a monograph with LDR/18=i for ISBD punctuation.
> 
> I was away for a couple weeks, did I miss a change in how to do regex
> searches in the extracted record feature?  Unless I'm just wrong about the
> proper syntax.
> 
> Attached are the two records I got in the search of a 1,000+ record file.
> 
> Thanks!
> Tim
> 
> --
> Timothy M. McCarthy
> University at Buffalo
> 716.645.8577
> [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]

________________________________________________________________________

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