<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Bright";
        panose-1:2 4 6 2 5 5 5 2 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Times New Roman","serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Amy,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>From the example you provided at
the bottom, it looks like you have spaces in your 952$h and 952$i.&nbsp; It
doesn&#8217;t look like your regular expression allows for any whitespace, just
characters and numbers.&nbsp; You could try replacing the &#8220;[A-Za-z0-9.]*&#8221;s
with &#8220;.*&#8221;, since the dollar sign subfield codes will anchor the
matching.&nbsp; This way, you&#8217;d be sure to catch any spaces.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Hope this helps,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Ian Walls<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Systems Integration Librarian<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>NYU Health Sciences Libraries<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>(212) 263-8687<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] <b>On
Behalf Of </b>Amy Schuler<br>
<b>Sent:</b> Monday, May 18, 2009 1:45 PM<br>
<b>To:</b> koha@lists.katipo.co.nz<br>
<b>Subject:</b> [Koha] New Koha installation - 952 field<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Hello, <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>I just
installed Koha 3.0.&nbsp; Seems to be fine except I have run up against a
problem with the 852-to-952 holdings field find &amp; replace function
(switching holdings info to 952 $o).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>First,
let me mention that we use LCC, not Dewey.&nbsp; That said, I have successfully
used MarcEdit to switch tag 852, $h,$i,$p,$k and $8 (date of acquisition) to field
952.&nbsp; Then, using the Koha 3.0 instructions, I added $b to the end of the
952s, and used the find &amp; replace command to find: (=952&nbsp;
..)(\$h)([A-Za-z0-9.]*)(\$i)([A-Za-z0-9.]*)(\$.*\$b[A-Za-z0-9.]*) and replace:
$1$o$3 $5$6.&nbsp; However, this last part fails because I receive the message,
&#8220;0 modifications made&#8221;.&nbsp; &nbsp;I did select &#8220;use regular
expressions&#8221;.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Is there
something I am doing wrong?&nbsp; Is my LCC somehow messing up the works?&nbsp;
Thanks for any tips or advice you can offer.&nbsp; I am not familiar with regular
expressions so am not sure how to tweak them, if that is what is needed.&nbsp;
I have pasted in one of my MARC records, below, so you can see what my records
look like.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Also,
one more thing -- if anyone can tell me why my Koha staff client site says
&#8220;No_Library_Set&#8221; in the upper right hand corner, I would appreciate
it.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Thanks
again,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Amy<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Bright","serif"'>Amy
C. Schuler<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Bright","serif"'>Manager
of Information Services<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Bright","serif"'>Cary
Institute of Ecosystem Studies<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Bright","serif"'>PO
Box AB <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Bright","serif"'>Millbrook,
NY&nbsp; 12545<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Bright","serif"'>(845)
677-7600 x164<o:p></o:p></span></p>

<p class=MsoNormal><a href="mailto:schulera@ecostudies.org"><span
style='font-size:10.0pt;font-family:"Lucida Bright","serif"'>schulera@caryinstitute.org</span></a><span
style='font-size:10.0pt;font-family:"Lucida Bright","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Bright","serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>=LDR&nbsp; 00667nam&nbsp; 2200205 a 4500<o:p></o:p></p>

<p class=MsoNormal>=001&nbsp; \\\83194569\<o:p></o:p></p>

<p class=MsoNormal>=008&nbsp; 840920s1983\\\\enka\\\\\b\\\\00110\eng\\<o:p></o:p></p>

<p class=MsoNormal>=020&nbsp; \\$a0713128658 (pbk.)<o:p></o:p></p>

<p class=MsoNormal>=039&nbsp; 0\$a2$b3$c3$d3$e3<o:p></o:p></p>

<p class=MsoNormal>=050&nbsp; \\$aQH541.5.M3$bE84 1983<o:p></o:p></p>

<p class=MsoNormal>=082 &nbsp;0\$a574.5/26325$219<o:p></o:p></p>

<p class=MsoNormal>=100&nbsp; 10$aEtherington, John R.<o:p></o:p></p>

<p class=MsoNormal>=245&nbsp; 10$aWetland ecology /$cJohn R. Etherington.<o:p></o:p></p>

<p class=MsoNormal>=260&nbsp; 0\$aLondon :$bE. Arnold,$c1983.<o:p></o:p></p>

<p class=MsoNormal>=300&nbsp; \\$a66 p. :$bill. ;$c22 cm.<o:p></o:p></p>

<p class=MsoNormal>=440&nbsp; \4$aThe Institute of Biology's studies in
biology,$x0537-9024 ;$vno. 154<o:p></o:p></p>

<p class=MsoNormal>=504&nbsp; \\$aBibliography: p. [64]-66.<o:p></o:p></p>

<p class=MsoNormal>=500&nbsp; \\$aIncludes index.<o:p></o:p></p>

<p class=MsoNormal>=650&nbsp; \0$aWetland ecology.<o:p></o:p></p>

<p class=MsoNormal>=952&nbsp; \\$p10039$kIES$hQH 541.5 .M3$iE84
1983$820030108$b<o:p></o:p></p>

</div>

<pre></PRE>
<html>
<body>
------------------------------------------------------------<br />
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.<br />
=================================
</body>
</html>
<PRE>
</pre></body>

</html>