regexp for deploy repo more flexible.