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:
"Nickeson, Walter" <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Wed, 14 Dec 2011 15:03:32 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (103 lines)
 The replacement string below should be "lcase($+)". The initial "$1" is
spurious. Sorry for the error.

> -----Original Message-----
> From: MarcEdit support in technical and instructional matters
> [mailto:[log in to unmask]] On Behalf Of Nickeson, Walter
> Sent: Wednesday, December 14, 2011 2:54 PM
> To: [log in to unmask]
> Subject: Re: [MARCEDIT-L] using sentence case for 245
> 
> To convert all your Initial Caps titles to sentence case, this
technique may
> work. Use the Edit Subfield Data tool:
> 
> Field: 245
> Subfield: a
> Find: ( [A-Z])
> Replace: $1lcase($+)
> 
> This replaces every instance of a capital letter following a space
with its
> lowercase version, while retaining the space. If the record is
properly
> formatted, with no space around subfield codes, the expression will
> preserve the initial capital letter of the title that follows
delimiter "a".
> Unfortunately, it will do that for subfield $b also; but you could
easily fix that
> with a straightforward regular expression.
> Since I don't know if all your 245 fields have subfields $a, $b, and
$c, using
> Terry's Edit Subfield Data tool, working on each subfield separately,
seems
> like the best answer.
> 
> Without having thought it through, I'd assume the same procedure could
> work on your 505s.
> 
> *****************************************
>   Walter F. Nickeson, Catalog &
>     Metadata Management Librarian
>   Rush Rhees Library
>   University of Rochester
>   Rochester, NY  14627-0055
>   [log in to unmask]
>   (585) 273-2326  fax: (585) 273-1032
> *****************************************
> 
> 
> > -----Original Message-----
> > From: MarcEdit support in technical and instructional matters
> > [mailto:[log in to unmask]] On Behalf Of Fox, Chris
> > Sent: Tuesday, December 13, 2011 5:35 PM
> > To: [log in to unmask]
> > Subject: Re: [MARCEDIT-L] using sentence case for 245
> >
> > I don't want to change 245 $c because that is already capitalized
> correctly.
> > My file has 245s that have Initial Capital Letters, not ALL CAPS.
> >
> > On Terry's blog (mentioned below), he has the following to change
245
> $a
> > from ALL CAPS to Initial Caps using the Edit Subfield Data function:
> > Field: 245
> >
> > Subfield: a
> >
> > Find: ([A-Z])([A-Z0-9']+)
> >
> > Replace: $1lcase($+)
> >
> > If I knew what this meant, I would tweak it so that it changed 245
$a
> from
> > Initial Caps to Sentence case.  I would then run it to work on all
$b.
> Or change
> > the above regex to change 245 $a (and then $b) all to lower case,
and
> then I'd
> > use your Find/Replace regex below to capitalize the first letter in
> 245 $a.  Is
> > there a way to make this work?
> >
> > Thanks,
> > Chris
> 
> __________________________________________________________
> ______________
> 
> 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