fork(33) download
  1. print(string.match("/v1/resource1", "^/v1/resource%d*$"))
  2. print(string.match("/v1/resource1/{uuid}", "^/v1/resource1/[^/]*$"))
  3. print(string.match("/v1/resource1/{uuid}/resource2", "^/v1/resource1/[^/]*/[^/]*$"))
Success #stdin #stdout 0s 14112KB
stdin
Standard input is empty
stdout
/v1/resource1
/v1/resource1/{uuid}
/v1/resource1/{uuid}/resource2