refactor: made the error messages for replacement template compilation failures less verbose in ngx.re.sub and ngx.re.gsub.
Merge remote-tracking branch 'origin/master' into ffi
bugfix: a test case would fail when TEST_NGINX_PORT was set to port numbers other than 1985.
added (passing) tests for use of the $invalid_referer variable in Lua. this requires the patch invalid_referer_hash for the nginx core (for now). thanks Fry-kun for reporting this issue as github #239.
updated docs to reflect recent changes.
Merge remote-tracking branch 'origin/master' into ffi
feature: added pure C API for ngx.re.sub and ngx.re.gsub, which is expected to be used by lua-resty-core and etc.