update repo sync script, precise regex