[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Patterns: Why are anchors not character classes?
- From: Peter Aronoff <telemachus@...>
- Date: Tue, 14 Jul 2015 14:15:46 -0400
Jonathan Goble <firstname.lastname@example.org> wrote:
> I would argue that the string library ought to have a proper split function,
> but it's not too difficult to write one in Lua. I'll leave it as an exercise
> for the reader, and I think there's a whole page on the wiki about it also.
Related: https://bitbucket.org/telemachus/string-split. And, yes, the wiki was
very helpful. (I should be releasing this to luarocks in the next week.)
We have not been faced with the need to satisfy someone else's
requirements, and for this freedom we are grateful.
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System