On Mon, Aug 23, 2010 at 3:47 PM, Jose Marin <jose_marin2@yahoo.com.br> wrote: > Hi, > > What's the most efficient equivalent in Lua of > > sscanf(str, " val %d | %d", &v1, &v2); v1, v2 = str:match("val (%d+) | (%d+)")