added a comment.
resty.core.regex: added new function set_buf_grow_ratio to control the buffer grow ratio (default 2.0).
bugfix: ngx.req.get_headers: we need to anchor the string buffer being casted otherwise it might be accidentally garbage collected when we still hold a C pointer to it. this bug might lead to segmentation faults.