matches only add to the environment on success in a repeat #147
build