lua-users home
lua-l archive

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


On Mon, Aug 17, 2015 at 8:57 PM, Mason Bogue <scythe+lua@ortsz.com> wrote:
The proposal is this:

str1 / str2 -- equivalent to str1:match(str2)


No time to test right now, but AFAIK, binary operators return exactly one value whereas function calls can return an arbitrary number of them.

—Pierre-Yves