What I would expect is that the first substitution that matches is used, or an error is throw. Seems intuitive to me.