adding condcast macro and making objects-named take regexes