So then to answer Tulipant's question it will match all versions then. But I am still wondering why for some messages I get the virus type reported in the first few lines of the email and in others I have to scroll down to the "uvscan results" section.
I don't believe my system is that loaded to be messing up, but anything is possible. Any one? Thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dallas Engelken Sent: Friday, August 09, 2002 9:04 AM To: John McCoy, Jr.; [EMAIL PROTECTED] Subject: RE: [Qmail-scanner-general]No virus reported > My perl is far from perfect but wont this statement match on any > version? > > if ($virus_type =~ /$virus/i) { > > klez =~ klez.h > or > klez =~ Klez.h > or > klez =~ Klez.Z > > Would all match yes/no? I thought this type of compare worked like a > grep. yes. /$virus/i means match the text case-insenstive.. so "klez" would match klez.h, klez.g, Klez.H, New.Klez.X etc... Dallas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
