Allow . to match newline in check_command_return

Uses the newline option