lty11studio/kmp

knuth-morris-pratt algorithm implementation in luau

KMP

Knuth-Morris-Pratt string matching algorithm implementation.

Install

pesde add lty11studio/kmp

Usage

local kmp = require("@path.to.here")
print(kmp.find("Hello, world!", "world"))