string_replace_re added
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <regex>
|
||||
|
||||
void replace_substring(std::string &src, const std::string &substr, const std::string &replacement);
|
||||
std::string replace_substring_regexp(const std::string &src, const std::string &substr, const std::string &replacement);
|
||||
|
||||
// Returns true if where contains regex
|
||||
bool regexp_search(const std::string &where, const std::string ®ex_str);
|
||||
|
||||
Reference in New Issue
Block a user