shell exec and regex