regex for detecting the command output added.