BloombergLP::bdlpcre::RegEx::replace

replace overloads

Synopses

Declared in <bdlpcre_regex.h>

Replace matches of pattern() in subject with replacement.

int
replace(
    bsl::string* result,
    int* errorOffset,
    std::string_view const& subject,
    std::string_view const& replacement,
    size_t options = 0) const;
» more...

Same as the preceding overload, writing into a std::pmr::string.

int
replace(
    std::pmr::string* result,
    int* errorOffset,
    std::string_view const& subject,
    std::string_view const& replacement,
    size_t options = 0) const;
» more...

Same as the preceding overload, writing into a std::string.

int
replace(
    std::string* result,
    int* errorOffset,
    std::string_view const& subject,
    std::string_view const& replacement,
    size_t options = 0) const;
» more...