lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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 :)