s = [[var version="1,1,0,0";]]res = string.match(s, [[var%s+version="([%d,]+)]])print(res)
Standard input is empty
1,1,0,0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!