fork(3) download
  1. local example = [[ "id":001 "id2":002 ]]
  2. for i,y in example:gmatch([["(%w+)"%s*:%s*(%d+)]]) do
  3. print(i, y)
  4. end
Success #stdin #stdout 0s 15008KB
stdin
Standard input is empty
stdout
id	001
id2	002