BloombergLP::bdlpcre::RegEx::matchRaw

Same as the preceding overload, using a std::vector result buffer.

Synopsis

Declared in <bdlpcre_regex.h>

int
matchRaw(
    std::vector<std::string_view>* result,
    std::string_view const& subject,
    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

NameDescription
resultreceives match and sub-pattern matches as string views
subjectsubject string to match
subjectOffsetoffset in subject at which matching begins