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")));
45 assert(std::regex_match(s, m, std::regex("ab")));
60 assert(!std::regex_match(s, m, std::regex("ba")));
67 assert(!std::regex_match(s, m, std::regex("ab")));
73 assert(!std::regex_match(s, m, std::regex("ab"),
80 assert(!std::regex_match(s, m, std::regex("bc")));
86 assert(std::regex_match(s, m, std::regex("ab*c")));
101 assert(std::regex_match(s, m, std::regex("(ab)*c")));
119 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi")));
125 assert(std::regex_match(s, m, std::regex("^abc")));
140 assert(!std::regex_match(s, m, std::regex("^abc")));
146 assert(!std::regex_match(s, m, std::regex("^abc")));
152 assert(std::regex_match(s, m, std::regex("abc$")));
167 assert(!std::regex_match(s, m, std::regex("abc$")));
173 assert(!std::regex_match(s, m, std::regex("abc$")));
179 assert(std::regex_match(s, m, std::regex("a.c")));
194 assert(std::regex_match(s, m, std::regex("a.c")));
209 assert(std::regex_match(s, m, std::regex("a.c")));
224 assert(std::regex_match(s, m, std::regex("(.*).*")));
242 assert(!std::regex_match(s, m, std::regex("(a*)*")));
248 assert(!std::regex_match(s, m, std::regex("ab{3,5}c")));
254 assert(std::regex_match(s, m, std::regex("ab{3,5}c")));
269 assert(std::regex_match(s, m, std::regex("ab{3,5}c")));
284 assert(std::regex_match(s, m, std::regex("ab{3,5}c")));
299 assert(!std::regex_match(s, m, std::regex("ab{3,5}c")));
305 assert(!std::regex_match(s, m, std::regex("ab{3,5}c")));
311 assert(!std::regex_match(s, m, std::regex("a.{3,5}c")));
317 assert(std::regex_match(s, m, std::regex("a.{3,5}c")));
332 assert(std::regex_match(s, m, std::regex("a.{3,5}c")));
347 assert(std::regex_match(s, m, std::regex("a.{3,5}c")));
362 assert(!std::regex_match(s, m, std::regex("a.{3,5}c")));
368 assert(!std::regex_match(s, m, std::regex("tour|to|tournament")));
374 assert(!std::regex_match(s, m, std::regex("(tour|to|tournament)+",
381 assert(std::regex_match(s, m, std::regex("(tour|to|t)+")));
399 assert(!std::regex_match(s, m, std::regex("-(.*),\1-")));
405 assert(std::regex_match(s, m, std::regex("-.*,.*-")));
420 assert(std::regex_match(s, m, std::regex("^[a]$")));
435 assert(std::regex_match(s, m, std::regex("^[ab]$")));
450 assert(std::regex_match(s, m, std::regex("^[a-f]$")));
465 assert(!std::regex_match(s, m, std::regex("^[a-f]$")));
471 assert(!std::regex_match(s, m, std::regex("q[^u]")));
477 assert(!std::regex_match(s, m, std::regex("q[^u]")));
483 assert(std::regex_match(s, m, std::regex("A[[:lower:]]B")));
498 assert(!std::regex_match(s, m, std::regex("A[[:lower:]]B")));
504 assert(std::regex_match(s, m, std::regex("A[^[:lower:]]B")));
519 assert(!std::regex_match(s, m, std::regex("A[^[:lower:]]B")));
525 assert(!std::regex_match(s, m, std::regex("A[^[:lower:]0-9]B")));
531 assert(std::regex_match(s, m, std::regex("A[^[:lower:]0-9]B")));
546 assert(std::regex_match(s, m, std::regex("[a[.hyphen.]z]")));
561 assert(std::regex_match(s, m, std::regex("[a[.hyphen.]z]")));
576 assert(!std::regex_match(s, m, std::regex("[a[.hyphen.]z]")));
583 assert(std::regex_match(s, m, std::regex("[a[=M=]z]")));
598 assert(std::regex_match(s, m, std::regex("[a[.ch.]z]",
615 assert(!std::regex_match(s, m, std::regex("[a[=M=]z]")));
621 assert(!std::regex_match(s, m, std::regex("[ace1-9]*")));
627 assert(!std::regex_match(s, m, std::regex("[ace1-9]+")));
639 assert(std::regex_match(BI(s), BI(s+ss), m, regex));
654 assert(!std::regex_match(s, m, std::regex("Jeff(?=s\\b)")));
660 assert(!std::regex_match(s, m, std::regex("Jeff(?!s\\b)")));
666 assert(std::regex_match(s, m, std::regex("\\d[\\W]k")));
682 assert(std::regex_match(s, m, std::wregex(L"a")));
698 assert(std::regex_match(s, m, std::wregex(L"ab")));
713 assert(!std::regex_match(s, m, std::wregex(L"ba")));
720 assert(!std::regex_match(s, m, std::wregex(L"ab")));
726 assert(!std::regex_match(s, m, std::wregex(L"ab"),
733 assert(!std::regex_match(s, m, std::wregex(L"bc")));
739 assert(std::regex_match(s, m, std::wregex(L"ab*c")));
754 assert(std::regex_match(s, m, std::wregex(L"(ab)*c")));
772 assert(!std::regex_match(s, m, std::wregex(L"cd((e)fg)hi")));
778 assert(std::regex_match(s, m, std::wregex(L"^abc")));
793 assert(!std::regex_match(s, m, std::wregex(L"^abc")));
799 assert(!std::regex_match(s, m, std::wregex(L"^abc")));
805 assert(std::regex_match(s, m, std::wregex(L"abc$")));
820 assert(!std::regex_match(s, m, std::wregex(L"abc$")));
826 assert(!std::regex_match(s, m, std::wregex(L"abc$")));
832 assert(std::regex_match(s, m, std::wregex(L"a.c")));
847 assert(std::regex_match(s, m, std::wregex(L"a.c")));
862 assert(std::regex_match(s, m, std::wregex(L"a.c")));
877 assert(std::regex_match(s, m, std::wregex(L"(.*).*")));
895 assert(!std::regex_match(s, m, std::wregex(L"(a*)*")));
901 assert(!std::regex_match(s, m, std::wregex(L"ab{3,5}c")));
907 assert(std::regex_match(s, m, std::wregex(L"ab{3,5}c")));
922 assert(std::regex_match(s, m, std::wregex(L"ab{3,5}c")));
937 assert(std::regex_match(s, m, std::wregex(L"ab{3,5}c")));
952 assert(!std::regex_match(s, m, std::wregex(L"ab{3,5}c")));
958 assert(!std::regex_match(s, m, std::wregex(L"ab{3,5}c")));
964 assert(!std::regex_match(s, m, std::wregex(L"a.{3,5}c")));
970 assert(std::regex_match(s, m, std::wregex(L"a.{3,5}c")));
985 assert(std::regex_match(s, m, std::wregex(L"a.{3,5}c")));
1000 assert(std::regex_match(s, m, std::wregex(L"a.{3,5}c")));
1015 assert(!std::regex_match(s, m, std::wregex(L"a.{3,5}c")));
1021 assert(!std::regex_match(s, m, std::wregex(L"tour|to|tournament")));
1027 assert(!std::regex_match(s, m, std::wregex(L"(tour|to|tournament)+",
1034 assert(std::regex_match(s, m, std::wregex(L"(tour|to|t)+")));
1052 assert(!std::regex_match(s, m, std::wregex(L"-(.*),\1-")));
1058 assert(std::regex_match(s, m, std::wregex(L"-.*,.*-")));
1073 assert(std::regex_match(s, m, std::wregex(L"^[a]$")));
1088 assert(std::regex_match(s, m, std::wregex(L"^[ab]$")));
1103 assert(std::regex_match(s, m, std::wregex(L"^[a-f]$")));
1118 assert(!std::regex_match(s, m, std::wregex(L"^[a-f]$")));
1124 assert(!std::regex_match(s, m, std::wregex(L"q[^u]")));
1130 assert(!std::regex_match(s, m, std::wregex(L"q[^u]")));
1136 assert(std::regex_match(s, m, std::wregex(L"A[[:lower:]]B")));
1151 assert(!std::regex_match(s, m, std::wregex(L"A[[:lower:]]B")));
1157 assert(std::regex_match(s, m, std::wregex(L"A[^[:lower:]]B")));
1172 assert(!std::regex_match(s, m, std::wregex(L"A[^[:lower:]]B")));
1178 assert(!std::regex_match(s, m, std::wregex(L"A[^[:lower:]0-9]B")));
1184 assert(std::regex_match(s, m, std::wregex(L"A[^[:lower:]0-9]B")));
1199 assert(std::regex_match(s, m, std::wregex(L"[a[.hyphen.]z]")));
1214 assert(std::regex_match(s, m, std::wregex(L"[a[.hyphen.]z]")));
1229 assert(!std::regex_match(s, m, std::wregex(L"[a[.hyphen.]z]")));
1236 assert(std::regex_match(s, m, std::wregex(L"[a[=M=]z]")));
1251 assert(std::regex_match(s, m, std::wregex(L"[a[.ch.]z]",
1268 assert(!std::regex_match(s, m, std::wregex(L"[a[=M=]z]")));
1274 assert(!std::regex_match(s, m, std::wregex(L"[ace1-9]*")));
1280 assert(!std::regex_match(s, m, std::wregex(L"[ace1-9]+")));
1292 assert(std::regex_match(BI(s), BI(s+ss), m, regex));
1307 assert(!std::regex_match(s, m, std::wregex(L"Jeff(?=s\\b)")));
1313 assert(!std::regex_match(s, m, std::wregex(L"Jeff(?!s\\b)")));
1319 assert(std::regex_match(s, m, std::wregex(L"\\d[\\W]k")));