967467 - updated regexp for parsing input line in shell mode