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
<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

I see, you likely need the multi line switch. change this:

my ($mso) = $row[2] =~ /(MS\d\d-\d\d\d)/i;

to:

my ($mso) = $row[2] =~ /(MS\d\d-\d\d\d)/si;

The /s makes it match through multi lines.
The /i makes it case insensitive.

HTH :)
Lee.M - JupiterHost.Net

--
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