Home | History | Annotate | Download | only in re.results.form

Lines Matching defs:fmt

15 //   format(const char_type* fmt,
31 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2";
32 std::string out = m.format(fmt);
40 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2";
41 std::string out = m.format(fmt, std::regex_constants::format_sed);
49 const char fmt[] = "match: &, m[1]: \\1, m[2]: \\2";
50 std::string out = m.format(fmt, std::regex_constants::format_sed);
59 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2";
60 std::wstring out = m.format(fmt);
68 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2";
69 std::wstring out = m.format(fmt, std::regex_constants::format_sed);
77 const wchar_t fmt[] = L"match: &, m[1]: \\1, m[2]: \\2";
78 std::wstring out = m.format(fmt, std::regex_constants::format_sed);