mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
`ReplaceAll()` substitutes fixed tokens in notification commands and other strings. PR #25803 replaced the Boost helper with `std::regex_replace()`, treating searches as regular expressions and substitutes as replacement-format syntax. Restore literal, non-recursive replacement so callers match fixed tokens and preserve replacement bytes exactly, while avoiding a new string when the search text is absent. Co-authored-by: Rob Hamilton <6456095+Rob1Ham@users.noreply.github.com>
13 KiB
Executable File
13 KiB
Executable File