[fix] check if disallowed options are regexps