Throwing StopIteration in array extras to stop the iteration

Brendan Eich brendan at mozilla.com
Sun Mar 3 16:26:58 PST 2013


Brendan Eich wrote:
> Andrea Giammarchi wrote:
>> RegExp['$&'];
>
> My Perl 4 _homage_, blechh. 

(You could at least have had the decency to use RegExp.lastMatch... ;-)

/be


More information about the es-discuss mailing list