add name match condition with regexp
modify repository template