Lines Matching defs:replace
4 * libc regex, providing regular expression match and replace facility.
104 string const & replace)
110 replace_t regex = { regexp, replace };
197 do_replace(str, regexp.replace, match);
216 (string & str, string const & replace, regmatch_t const * match) const
219 for (size_t i = 0 ; i < replace.length() ; ++i) {
220 if (replace[i] == '\\') {
221 if (i == replace.length() - 1) {
223 replace);
226 if (replace[i] == '\\') {
230 replace[i]);
237 replace);
244 inserted += replace[i];
251 str.replace(first, count, inserted);