Lua pcre inside nginx

Eugaia ngx.eugaia at
Thu May 5 01:37:11 MSD 2011


On 04/05/2011 22:03, Akins, Brian wrote:
> I wanted to use pcre inside a lua script using rex_pcre.  However, I always
> get the error:
> failed to get memory (pattern offset: 15)
> The snippet of code always works in a standalone script.
> Ideas?
I just tried the supplied test suite for rex_pcre on the latest (as of a 
few days ago) trunk version of LuaJIT 2.0 on Nginx 1.0.0 and there were 
no test failures.  Maybe try JIT if you're not using it already?



More information about the nginx mailing list