Added try statement for re.sub() for 'report' command.