On Wed, 11 Feb 2004, Nels Lindquist wrote:

> $CurrentVirusScannerMessage =~ m/ALERT: \[(\S+) virus|worm\]/

   The only thing that jumps out at me is whether the space before virus
is part of the "or" comparison or not.  It may work as you want, but to
avoid ambiguity, I would put it in grouping-only parens, like:

        (?:virus|worm)

   HTH...

Jim McCullars
University of Alabama in Huntsville

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to