lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: operator overloading for string matching
From
: Pierre-Yves Gérardy <pygy79@
...
>
Date
: Tue, 18 Aug 2015 19:51:48 +0200
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
Follow-Ups
:
Re: operator overloading for string matching
,
Pierre-Yves Gérardy
References
:
operator overloading for string matching
,
Mason Bogue
Prev by Date:
Re: [local] <namelist> = do <block> =<explist> end
Next by Date:
Re: Lua Workshop 2015
Previous by thread:
Re: operator overloading for string matching
Next by thread:
Re: operator overloading for string matching
Index(es):
Date
Thread