lua-users home
lua-l archive

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

On 2009-12-27, steve donovan <> wrote:
> On Thu, Dec 24, 2009 at 8:48 PM, David Manura <> 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

Very concise and powerful.