|
|
||
|
This is literally a textbook example: http://www.lua.org/pil/20.4.html
I guess it's been some time since I read that chapter, and I just hadn't run into the tricks of the trade with pattern matching yet :)