I have below URIs:
/v1/resource1/v1/resource1/{uuid}/v1/resource1/{uuid}/resource2
I tried using /v1/resource1 and /v1/resource/+ as couple of patterns but the second pattern matches both 2nd and 3rd URIs
I want to have 3 separate patterns matching the above URIs separately. I am using string.match function for pattern matching.
Can someone help me with the Lua patterns?
Thanks