included noexcept, and regex to process cmd