Home | History | Annotate | Download | only in re.alg.match

Lines Matching refs:regex_match

14 //     regex_match(BidirectionalIterator first, BidirectionalIterator last,
29 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended)));
45 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::extended)));
60 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::extended)));
67 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended)));
73 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended),
80 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::extended)));
86 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::extended)));
101 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::extended)));
119 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi",
126 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::extended)));
141 assert(!std::regex_match(s, m, std::regex("^abc", std::regex_constants::extended)));
147 assert(!std::regex_match(s, m, std::regex("^abc", std::regex_constants::extended)));
153 assert(std::regex_match(s, m, std::regex("abc$", std::regex_constants::extended)));
168 assert(!std::regex_match(s, m, std::regex("abc$", std::regex_constants::extended)));
174 assert(!std::regex_match(s, m, std::regex("abc$", std::regex_constants::extended)));
180 assert(std::regex_match(s, m, std::regex("a.c", std::regex_constants::extended)));
195 assert(std::regex_match(s, m, std::regex("a.c", std::regex_constants::extended)));
210 assert(std::regex_match(s, m, std::regex("a.c", std::regex_constants::extended)));
225 assert(std::regex_match(s, m, std::regex("(.*).*", std::regex_constants::extended)));
243 assert(!std::regex_match(s, m, std::regex("(a*)*", std::regex_constants::extended)));
249 assert(!std::regex_match(s, m, std::regex("ab{3,5}c", std::regex_constants::extended)));
255 assert(std::regex_match(s, m, std::regex("ab{3,5}c", std::regex_constants::extended)));
270 assert(std::regex_match(s, m, std::regex("ab{3,5}c", std::regex_constants::extended)));
285 assert(std::regex_match(s, m, std::regex("ab{3,5}c", std::regex_constants::extended)));
300 assert(!std::regex_match(s, m, std::regex("ab{3,5}c", std::regex_constants::extended)));
306 assert(!std::regex_match(s, m, std::regex("ab{3,5}c", std::regex_constants::extended)));
312 assert(!std::regex_match(s, m, std::regex("a.{3,5}c", std::regex_constants::extended)));
318 assert(std::regex_match(s, m, std::regex("a.{3,5}c", std::regex_constants::extended)));
333 assert(std::regex_match(s, m, std::regex("a.{3,5}c", std::regex_constants::extended)));
348 assert(std::regex_match(s, m, std::regex("a.{3,5}c", std::regex_constants::extended)));
363 assert(!std::regex_match(s, m, std::regex("a.{3,5}c", std::regex_constants::extended)));
369 assert(std::regex_match(s, m, std::regex("tour|to|tournament",
385 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+",
401 assert(std::regex_match(s, m, std::regex("(tour|to|t)+",
420 assert(!std::regex_match(s, m, std::regex("-(.*),\1-", std::regex_constants::extended)));
426 assert(std::regex_match(s, m, std::regex("-.*,.*-", std::regex_constants::extended)));
441 assert(std::regex_match(s, m, std::regex("^[a]$",
457 assert(std::regex_match(s, m, std::regex("^[ab]$",
473 assert(std::regex_match(s, m, std::regex("^[a-f]$",
489 assert(!std::regex_match(s, m, std::regex("^[a-f]$",
496 assert(!std::regex_match(s, m, std::regex("q[^u]",
503 assert(!std::regex_match(s, m, std::regex("q[^u]",
510 assert(std::regex_match(s, m, std::regex("A[[:lower:]]B",
526 assert(!std::regex_match(s, m, std::regex("A[[:lower:]]B",
533 assert(std::regex_match(s, m, std::regex("A[^[:lower:]]B",
549 assert(!std::regex_match(s, m, std::regex("A[^[:lower:]]B",
556 assert(!std::regex_match(s, m, std::regex("A[^[:lower:]0-9]B",
563 assert(std::regex_match(s, m, std::regex("A[^[:lower:]0-9]B",
579 assert(std::regex_match(s, m, std::regex("[a[.hyphen.]z]",
595 assert(std::regex_match(s, m, std::regex("[a[.hyphen.]z]",
611 assert(!std::regex_match(s, m, std::regex("[a[.hyphen.]z]",
619 assert(std::regex_match(s, m, std::regex("[a[=M=]z]",
635 assert(std::regex_match(s, m, std::regex("[a[.ch.]z]",
652 assert(!std::regex_match(s, m, std::regex("[a[=M=]z]",
659 assert(!std::regex_match(s, m, std::regex("[ace1-9]*",
666 assert(!std::regex_match(s, m, std::regex("[ace1-9]+",
679 assert(std::regex_match(BI(s), BI(s+ss), m, regex));
695 assert(std::regex_match(s, m, std::wregex(L"a", std::regex_constants::extended)));
711 assert(std::regex_match(s, m, std::wregex(L"ab", std::regex_constants::extended)));
726 assert(!std::regex_match(s, m, std::wregex(L"ba", std::regex_constants::extended)));
733 assert(!std::regex_match(s, m, std::wregex(L"ab", std::regex_constants::extended)));
739 assert(!std::regex_match(s, m, std::wregex(L"ab", std::regex_constants::extended),
746 assert(!std::regex_match(s, m, std::wregex(L"bc", std::regex_constants::extended)));
752 assert(std::regex_match(s, m, std::wregex(L"ab*c", std::regex_constants::extended)));
767 assert(std::regex_match(s, m, std::wregex(L"(ab)*c", std::regex_constants::extended)));
785 assert(!std::regex_match(s, m, std::wregex(L"cd((e)fg)hi",
792 assert(std::regex_match(s, m, std::wregex(L"^abc", std::regex_constants::extended)));
807 assert(!std::regex_match(s, m, std::wregex(L"^abc", std::regex_constants::extended)));
813 assert(!std::regex_match(s, m, std::wregex(L"^abc", std::regex_constants::extended)));
819 assert(std::regex_match(s, m, std::wregex(L"abc$", std::regex_constants::extended)));
834 assert(!std::regex_match(s, m, std::wregex(L"abc$", std::regex_constants::extended)));
840 assert(!std::regex_match(s, m, std::wregex(L"abc$", std::regex_constants::extended)));
846 assert(std::regex_match(s, m, std::wregex(L"a.c", std::regex_constants::extended)));
861 assert(std::regex_match(s, m, std::wregex(L"a.c", std::regex_constants::extended)));
876 assert(std::regex_match(s, m, std::wregex(L"a.c", std::regex_constants::extended)));
891 assert(std::regex_match(s, m, std::wregex(L"(.*).*", std::regex_constants::extended)));
909 assert(!std::regex_match(s, m, std::wregex(L"(a*)*", std::regex_constants::extended)));
915 assert(!std::regex_match(s, m, std::wregex(L"ab{3,5}c", std::regex_constants::extended)));
921 assert(std::regex_match(s, m, std::wregex(L"ab{3,5}c", std::regex_constants::extended)));
936 assert(std::regex_match(s, m, std::wregex(L"ab{3,5}c", std::regex_constants::extended)));
951 assert(std::regex_match(s, m, std::wregex(L"ab{3,5}c", std::regex_constants::extended)));
966 assert(!std::regex_match(s, m, std::wregex(L"ab{3,5}c", std::regex_constants::extended)));
972 assert(!std::regex_match(s, m, std::wregex(L"ab{3,5}c", std::regex_constants::extended)));
978 assert(!std::regex_match(s, m, std::wregex(L"a.{3,5}c", std::regex_constants::extended)));
984 assert(std::regex_match(s, m, std::wregex(L"a.{3,5}c", std::regex_constants::extended)));
999 assert(std::regex_match(s, m, std::wregex(L"a.{3,5}c", std::regex_constants::extended)));
1014 assert(std::regex_match(s, m, std::wregex(L"a.{3,5}c", std::regex_constants::extended)));
1029 assert(!std::regex_match(s, m, std::wregex(L"a.{3,5}c", std::regex_constants::extended)));
1035 assert(std::regex_match(s, m, std::wregex(L"tour|to|tournament",
1051 assert(std::regex_match(s, m, std::wregex(L"(tour|to|tournament)+",
1067 assert(std::regex_match(s, m, std::wregex(L"(tour|to|t)+",
1086 assert(!std::regex_match(s, m, std::wregex(L"-(.*),\1-", std::regex_constants::extended)));
1092 assert(std::regex_match(s, m, std::wregex(L"-.*,.*-", std::regex_constants::extended)));
1107 assert(std::regex_match(s, m, std::wregex(L"^[a]$",
1123 assert(std::regex_match(s, m, std::wregex(L"^[ab]$",
1139 assert(std::regex_match(s, m, std::wregex(L"^[a-f]$",
1155 assert(!std::regex_match(s, m, std::wregex(L"^[a-f]$",
1162 assert(!std::regex_match(s, m, std::wregex(L"q[^u]",
1169 assert(!std::regex_match(s, m, std::wregex(L"q[^u]",
1176 assert(std::regex_match(s, m, std::wregex(L"A[[:lower:]]B",
1192 assert(!std::regex_match(s, m, std::wregex(L"A[[:lower:]]B",
1199 assert(std::regex_match(s, m, std::wregex(L"A[^[:lower:]]B",
1215 assert(!std::regex_match(s, m, std::wregex(L"A[^[:lower:]]B",
1222 assert(!std::regex_match(s, m, std::wregex(L"A[^[:lower:]0-9]B",
1229 assert(std::regex_match(s, m, std::wregex(L"A[^[:lower:]0-9]B",
1245 assert(std::regex_match(s, m, std::wregex(L"[a[.hyphen.]z]",
1261 assert(std::regex_match(s, m, std::wregex(L"[a[.hyphen.]z]",
1277 assert(!std::regex_match(s, m, std::wregex(L"[a[.hyphen.]z]",
1285 assert(std::regex_match(s, m, std::wregex(L"[a[=M=]z]",
1301 assert(std::regex_match(s, m, std::wregex(L"[a[.ch.]z]",
1318 assert(!std::regex_match(s, m, std::wregex(L"[a[=M=]z]",
1325 assert(!std::regex_match(s, m, std::wregex(L"[ace1-9]*",
1332 assert(!std::regex_match(s, m, std::wregex(L"[ace1-9]+",
1345 assert(std::regex_match(BI(s), BI(s+ss), m, regex));