> have you done some benchmarks (informal or otherwise), eg with a pure-Lua > solution that works with LPEG or some other pattern-matching algorithms? There's code in PiL: http://www.lua.org/pil/20.4.html