[#BloombergLP-bdlpcre-RegEx-match-09f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlpcre.adoc[bdlpcre]::xref:BloombergLP/bdlpcre/RegEx.adoc[RegEx]::match :relfileprefix: ../../../ :mrdocs: Same as the preceding overload, loading `StringRef` match results. == Synopsis Declared in `<bdlpcre_regex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int match( xref:bsl/vector-00d.adoc[bsl::vector<bslstl::StringRef>]* result, char const* subject, size_t subjectLength, size_t subjectOffset = 0) const; ---- == Return Value `k_STATUS_SUCCESS` on success, `k_STATUS_NO_MATCH` if no match, or another status on error == Parameters [cols="1,4"] |=== | Name| Description | *result* | receives match and sub‐pattern matches as string refs | *subject* | subject string to match (need not be null‐terminated) | *subjectLength* | length of `subject` in bytes | *subjectOffset* | offset in `subject` at which matching begins |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#