Are those the same? The first "/ZUPSUITE/" could find it anywhere in the line, but the second one forces it to be at the beginning of the line, correct?<div><br></div><div>(Though if your data won't have "ANOTHERZUPSUITE", then this isn't a problem...)</div>
<div><br></div><div>DanL<br><br><div class="gmail_quote">2010/9/20 Jay Hannah <span dir="ltr"><<a href="mailto:jhannah@omnihotels.com">jhannah@omnihotels.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New"">Another tiny code cleanup...</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""> </span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New"">j</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""> </span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""> </span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""> </span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New"">BEFORE</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""> next if (! $packageCode or $packageCode =~
/ZUPSUITE/ or</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""> substr( $packageCode, 0, 1 ) ne "Z"
);</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""> </span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New"">AFTER</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""> next if (!$packageCode or $packageCode =~
/^([^Z]|ZUPSUITE)/);</span></font></p>
</div>
</div>
<br>_______________________________________________<br>
Omaha-pm mailing list<br>
<a href="mailto:Omaha-pm@pm.org">Omaha-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/omaha-pm" target="_blank">http://mail.pm.org/mailman/listinfo/omaha-pm</a><br></blockquote></div><br><br clear="all"><br>-- <br>***************** ************* *********** ******* ***** *** **<br>
"Quis custodiet ipsos custodes?"<br> (Who can watch the watchmen?)<br> -- from the Satires of Juvenal<br>"I do not fear computers, I fear the lack of them."<br> -- Isaac Asimov (Author)<br>** *** ***** ******* *********** ************* *****************<br>
</div>