
1 Aug
2006
1 Aug
'06
4:58 p.m.
Hi there, I am using in-place replacement with replace_all_regex replace_all_regex( source, boost::regex("(%f)"), "(?1 xxx)", format_all); where source is of type std::string. But for some reason, I need to perform replacement on a C-string (char *), is replace_all_regex safe to do so? Will replace_all_regex handle memory issue for us? Thanks.