added the fifth param for ngx.re.find to retrieve the n-th matched result's position, revised