Lines Matching refs:std
25 std::regex phone_numbers("\\d{3}-\\d{4}");
26 std::string phone_book("555-1234, 555-2345, 555-3456");
27 std::string r = std::regex_replace(phone_book, phone_numbers,
32 std::regex phone_numbers("\\d{3}-\\d{4}");
33 std::string phone_book("555-1234, 555-2345, 555-3456");
34 std::string r = std::regex_replace(phone_book, phone_numbers,
36 std::regex_constants::format_sed);
40 std::regex phone_numbers("\\d{3}-\\d{4}");
41 std::string phone_book("555-1234, 555-2345, 555-3456");
42 std::string r = std::regex_replace(phone_book, phone_numbers,
44 std::regex_constants::format_sed);
48 std::regex phone_numbers("\\d{3}-\\d{4}");
49 std::string phone_book("555-1234, 555-2345, 555-3456");
50 std::string r = std::regex_replace(phone_book, phone_numbers,
52 std::regex_constants::format_no_copy);
56 std::regex phone_numbers("\\d{3}-\\d{4}");
57 std::string phone_book("555-1234, 555-2345, 555-3456");
58 std::string r = std::regex_replace(phone_book, phone_numbers,
60 std::regex_constants::format_first_only);
64 std::regex phone_numbers("\\d{3}-\\d{4}");
65 std::string phone_book("555-1234, 555-2345, 555-3456");
66 std::string r = std::regex_replace(phone_book, phone_numbers,
68 std::regex_constants::format_first_only |
69 std::regex_constants::format_no_copy);