--- event.c.orig 2011-08-04 02:54:26.000000000 +0400 +++ event.c 2011-10-12 01:35:09.000000000 +0400 @@ -107,7 +107,7 @@ } /* Compile the regular expression. This is based on run-parts(8). */ - rc = regcomp(&preg, "^[a-zA-Z0-9_-]+$", RULE_REGEX_FLAGS); + rc = regcomp(&preg, "^[a-z0-9._-]+$", RULE_REGEX_FLAGS); if (rc) { acpid_log(LOG_ERR, "regcomp(): %d", rc); unlock_rules(); .