utils: added description of arguments to valid_regexes