feature: added pure C API for ngx.re.match, which is expected to be used by lua-resty-core and etc.