|
It was thus said that the Great Sean Conner once stated: > > number = lpeg.R"09"^1 / tonumber -- parse a number [1] Oops. Forgot the footnote. -spc (Work is currently a bit slow ... ) [1] This is fine for unsigned integers, but you may want to beef this production up a bit to read negative numbers, or real numbers.