[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Single out a alarm with regex



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