[#BloombergLP-bdlpcre-RegEx-replaceRaw-0fe] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlpcre.adoc[bdlpcre]::xref:BloombergLP/bdlpcre/RegEx.adoc[RegEx]::replaceRaw :relfileprefix: ../../../ :mrdocs: `replaceRaw` overloads == Synopses Declared in `<bdlpcre_regex.h>` Replace matches in `subject` without validating UTF‐8 in `replacement`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlpcre/RegEx/replaceRaw-0a.adoc[replaceRaw]( xref:bsl/string.adoc[bsl::string]* result, int* errorOffset, std::string_view const& subject, std::string_view const& replacement, size_t options = 0) const; ---- [.small]#xref:BloombergLP/bdlpcre/RegEx/replaceRaw-0a.adoc[_» more..._]# Same as the preceding overload, writing into a `std::pmr::string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlpcre/RegEx/replaceRaw-0f4.adoc[replaceRaw]( std::pmr::string* result, int* errorOffset, std::string_view const& subject, std::string_view const& replacement, size_t options = 0) const; ---- [.small]#xref:BloombergLP/bdlpcre/RegEx/replaceRaw-0f4.adoc[_» more..._]# Same as the preceding overload, writing into a `std::string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlpcre/RegEx/replaceRaw-0e.adoc[replaceRaw]( std::string* result, int* errorOffset, std::string_view const& subject, std::string_view const& replacement, size_t options = 0) const; ---- [.small]#xref:BloombergLP/bdlpcre/RegEx/replaceRaw-0e.adoc[_» more..._]# == Return Value number of substitutions, or a negative value on error == Parameters [cols="1,4"] |=== | Name| Description | *result* | location for the replacement text | *errorOffset* | optional location for a syntax‐error offset | *subject* | input subject string | *replacement* | replacement text | *options* | bit‐wise OR of `k_REPLACE_*` flags |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#