[ale] Single out a alarm with regex

Jason Day jasonday at worldnet.att.net
Thu Oct 5 07:31:51 EDT 2006


On Wed, Oct 04, 2006 at 11:55:42PM -0400, Jason Day wrote:
>   if (/^DCH: +\d.*)$/ && $` ~! /MAINT/)

Er, that should be:
    if (/^(DCH: +\d.*$)/ && $1 !~ /MAINT/)

Jason
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9



More information about the Ale mailing list