[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Standard Libraries: (was: and Lua marches on)
- From: Leo Razoumov <slonik.az@...>
- Date: Mon, 28 Dec 2009 13:49:40 -0500
On 2009-12-27, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Thu, Dec 24, 2009 at 8:48 PM, David Manura <dm.lua@math2.org> wrote:
> > to misimplement. I don't generally trust the code in [1] as is.
> > Behavior of corner cases (e.g. empty patterns and treatment of empty
> > leading and trailing matches) needs to be fully given in the
> > specifications and confirmed in test cases.
>
>
> Here's a first draft of what that split function looks like with a few
> sanity checks:
>
There is very clever split function implementation by Rici Lake
http://lua-users.org/lists/lua-l/2006-12/msg00414.html
Very concise and powerful.
--Leo--
- References:
- Standard Libraries: (was: and Lua marches on), steve donovan
- Re: Standard Libraries: (was: and Lua marches on), steve donovan
- Re: Standard Libraries: (was: and Lua marches on), steve donovan
- Re: Standard Libraries: (was: and Lua marches on), steve donovan
- Re: Standard Libraries: (was: and Lua marches on), Fabien
- Re: Standard Libraries: (was: and Lua marches on), steve donovan
- Re: Standard Libraries: (was: and Lua marches on), David Manura
- Re: Standard Libraries: (was: and Lua marches on), steve donovan
- Re: Standard Libraries: (was: and Lua marches on), David Manura
- Re: Standard Libraries: (was: and Lua marches on), steve donovan