Lines Matching refs:re
25 std::regex re("foo$");
26 assert( std::regex_match(target, re));
27 assert(!std::regex_match(target, re, std::regex_constants::match_not_eol));
32 std::regex re("foo");
33 assert( std::regex_match(target, re));
34 assert( std::regex_match(target, re, std::regex_constants::match_not_eol));
39 std::regex re("foo$");
40 assert( std::regex_search(target, re));
41 assert(!std::regex_search(target, re, std::regex_constants::match_not_eol));
46 std::regex re("foo");
47 assert( std::regex_search(target, re));
48 assert( std::regex_search(target, re, std::regex_constants::match_not_eol));