fork(1) download
  1. local v = "something in here {uid} {uid2}"
  2. res, _ = v:gsub("{([^{}]*)}", ":id")
  3. print(res)
Success #stdin #stdout 0s 4492KB
stdin
Standard input is empty
stdout
something in here :id :id