Lines Matching refs:match
38 int match[4];
49 match[0] = re_match_2(®ex,"xyz",3,NULL,0,0,NULL,2);
61 match[1] = re_search_2(®ex,"xyz",3,NULL,0,0,2,NULL,2);
74 match[2] = re_match_2(®ex,"xy ",4,NULL,0,0,NULL,3);
75 match[3] = re_match_2(®ex,"xy z",4,NULL,0,0,NULL,3);
78 if (match[0] != -1 || match[1] != -1 || match[2] != -1 || match[3] != 3)
80 printf ("re_{match,search}_2 returned %d,%d,%d,%d, expected -1,-1,-1,3\n",
81 match[0], match[1], match[2], match[3]);