D | basic.pass.cpp | 45 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::basic))); in main() 61 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main() 76 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::basic))); in main() 83 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main() 89 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic), in main() 96 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::basic))); in main() 102 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::basic))); in main() 117 assert(std::regex_match(s, m, std::regex("\\(ab\\)*c", std::regex_constants::basic))); in main() 136 std::regex_constants::basic))); in main() 142 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::basic))); in main() [all …]
|