Fontenot, Paul wrote:
> Yes I have. The following URL's are the exact data from the database.
> 
> I can get the MS??-??? from this URL

        Have you printed out the $row data to insure that each row has what you 
expect. SO you have done something like:
        
        for(my $MyId=0;$MyId < scalar(@row);$MyId++) {
                printf "<%d>:%s\n", $MyId, $row[$MyId];
       }
        If you have then not clear what is going on at this poit.

Wags ;)
> <A
> href="http://www.microsoft.com/technet/security/bulletin/MS03-051.asp"; 
> target="_default">Microsoft Security Bulletin MS03-051</A>
> 
> But not from this one. My question was to see if anyone could figure
> out why, I can't.
> <A
> href="http://www.microsoft.com/technet/treeview/?url=/technet/security/b
> ulletin/MS02-045.asp" target="_default">Microsoft Security Bulletin
> MS02-045</A>
> 
> I wouldn't think it would matter using the following regex
> my ($mso) = $row[2] =~ /(MS\d\d-\d\d\d)/i;
> 
> -----Original Message-----
> From: Wagner, David --- Senior Programmer Analyst --- WGO
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 16, 2004 4:06 PM
> To: JupiterHost.Net; Fontenot, Paul
> Cc: [EMAIL PROTECTED]
> Subject: RE: pattern extraction
> 
> JupiterHost.Net wrote:
>> Fontenot, Paul wrote:
>> 
>>> Ugh, I thought I was done.
>>> 
>>> Why would this show the MS?-??? in either upper or lowercase <A
>>> 
> href="http://www.microsoft.com/technet/security/bulletin/MS03-051.asp";
>>> target="_default">Microsoft Security Bulletin MS03-051</A>
>>> 
>>> And this one would not show a value?
>>> <A
>>> 
> href="http://www.microsoft.com/technet/treeview/?url=/technet/security/b
>>> ulletin/MS02-045.asp" target="_default">Microsoft Security Bulletin
>>> MS02-045</A> 
>>> 
>>> When using this "my ($mso) = $row[2] =~ /(MS\d\d-\d\d\d)/i;" ?
> 
>       Have you done a print of what is in each row so you know that
> you are looking at what vs what you think you are looking at?
> 
>       That would be my first suggestion.
> 
> Wags ;)
>> 
>> For one, I'd escape the - (IE make it \- instead of -) other than
>> that I don't understand what you mean???
> 
> 
> 
> *******************************************************
> This message contains information that is confidential
> and proprietary to FedEx Freight or its affiliates.
> It is intended only for the recipient named and for
> the express purpose(s) described therein.
> Any other use is prohibited.
> *******************************************************


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to