In my understanding, doesn't the pattern change each for iteration also? the chain could be ^https://server1/[a-z]*/edit, https://server2/[A-Z]*/display, ...