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)$
pgpyOycwdZ1PF.pgp
Description: PGP signature