package = "stringy" version = "0.4-0" source = { url = "https://github.com/brentp/lua-stringy/archive/v0.4-0.tar.gz" } description = { summary = "C extension for fast string methods", detailed = [[ Includes fast methods for endswith, startswith, split, strip, find and count. Implementations of split and strip from the wiki and book. Implementation of find and count use python's fastsearch. Usage is: > require "stringy" > = stringy.strip(" asdf ") asdf > = table.concat(stringy.split("aXbXc", "X"), "|") a|b|c > = stringy.startswith("asdf", "as") true > = stringy.endswith("asdf", "as") false ]], homepage = "github.com/brentp/lua-stringy", license = "MIT/X11" } dependencies = { "lua >= 5.1" } build = { type = "builtin", modules = { stringy = { sources = {"stringy/stringy.c"}, } } }