http://bugs.gentoo.org/416985 --- a/src/conffile.c +++ b/src/conffile.c @@ -372,7 +372,7 @@ static int cf_prepare_regexps() /* A regexp matching a boolean value*/ if( regcomp(&declaration_RE, - "^[[:blank:]]*([-a-zA-Z_]+)[[:blank:]]*" + "^[[:blank:]]*([-[:alpha:]_]+)[[:blank:]]*" "=[[:blank:]]*(.*)$", REG_EXTENDED )) { perror(_("Could not compile regular expression for boolean values")); @@ -392,7 +392,7 @@ static int cf_prepare_regexps() } if( regcomp(&uint_RE, - "^[[:blank:]]*([a-zA-Z_]+)[[:blank:]]*" + "^[[:blank:]]*([[:alpha:]_]+)[[:blank:]]*" "=[[:blank:]]*([0-9]+)$", REG_EXTENDED )) { perror(_("Could not compile regular expression for integer values"));