Bug#355085: fixed regexp

2006-07-02 Thread martin f krafft
reopen 355085 thanks also sprach Adam Porter <[EMAIL PROTECTED]> [2006.03.12.0925 +0100]: > Oops, I made a mistake in the regexp (left out a pair of > brackets). Here's one that should work. > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: > /dev/[[:alpha:]]{3}, SMART Usage Attrib

Bug#355085: fixed regexp

2006-07-02 Thread martin f krafft
Here's what I suggest: ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: /dev/[sh]d[[:lower:]], SMART Usage Attribute: [[:digit:]]+ [[:alnum:]_]+ changed from [[:digit:]]+ to [[:digit:]]+$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: /dev/s

Bug#355085: fixed regexp

2006-03-12 Thread Adam Porter
Oops, I made a mistake in the regexp (left out a pair of brackets). Here's one that should work. ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[[:alpha:]]{3}, SMART Usage Attribute: 194 Temperature_Celsius changed from ([5-9]|[1-4][0-9]|50) to ([5-9]|[1-4][0-9]|50)$ pgpyOyc