Add pcre_match and pcre_captured_substrings functions