updated tests to reflect the fix in commit ccb0cbe0d.
feature: added new API function ngx.re.find, which is similar to ngx.re.match, but only returns the beginning index and end index of the whole match.