Lines Matching refs:match
23 "[test_is_match] expected match, but got no match\n");
42 "[test_shortest_match] expected match, "
43 "but got no match\n");
51 "[test_shortest_match] expected match end location %zu "
65 rure_match match = {0};
67 0, &match);
70 fprintf(stderr, "[test_find] expected match, but got no match\n");
76 if (match.start != expect_start || match.end != expect_end) {
79 "[test_find] expected match at (%zu, %zu), but "
80 "got match at (%zu, %zu)\n",
81 expect_start, expect_end, match.start, match.end);
94 rure_match match = {0};
101 "[test_captures] expected match, but got no match\n");
133 rure_captures_at(caps, 2, &match);
134 if (match.start != expect_start || match.end != expect_end) {
138 "expected capture 2 match at (%zu, %zu), "
139 "but got match at (%zu, %zu)\n",
140 expect_start, expect_end, match.start, match.end);
156 rure_match match = {0};
160 bool matched = rure_iter_next(it, haystack, haystack_len, &match);
164 "[test_iter] expected first match, but got no match\n");
171 if (match.start != expect_start || match.end != expect_end) {
174 "[test_iter] expected first match at (%zu, %zu), but "
175 "got match at (%zu, %zu)\n",
176 expect_start, expect_end, match.start, match.end);
186 "[test_iter] expected second match, but got no match\n");
191 rure_captures_at(caps, 1, &match);
194 if (match.start != expect_start || match.end != expect_end) {
197 "[test_iter] expected second match at (%zu, %zu), but "
198 "got match at (%zu, %zu)\n",
199 expect_start, expect_end, match.start, match.end);
270 * mode, we can match arbitrary possibly invalid UTF-8 bytes, such as \xFF.
271 * (When Unicode mode is enabled, \xFF won't match .)
284 fprintf(stderr, "[test_flags] expected match, but got no match\n");