Home | History | Annotate | Download | only in re.matchflag

Lines Matching defs:target

25     std::string target = "foo";
27 assert( std::regex_match(target, re));
28 assert(!std::regex_match(target, re, std::regex_constants::match_not_bol));
32 std::string target = "foo";
34 assert( std::regex_match(target, re));
35 assert( std::regex_match(target, re, std::regex_constants::match_not_bol));
39 std::string target = "fooby";
41 assert( std::regex_search(target, re));
42 assert(!std::regex_search(target, re, std::regex_constants::match_not_bol));
46 std::string target = "fooby";
48 assert( std::regex_search(target, re));
49 assert( std::regex_search(target, re, std::regex_constants::match_not_bol));