printf ("regexec %d incorrectly matched\n", i);
printf ("regexec %zd incorrectly matched\n", i);
main (void){  regex_t re;  regmatch_t rm[4];  size_t i;  int n, ret = 0;  mtrace ();  for (i = 0; i < sizeof (tests) / sizeof (tests[0]); ++i)    {      n = regcomp (&re, tests[i].pattern, tests[i].flags);      if (n != 0)	{	  char buf[500];	  regerror (n, &re, buf, sizeof (buf));	  printf ("regcomp %d failed: %s\n", i, buf);	  ret = 1;	  continue;	}      if (! regexec (&re, tests[i].string, tests[i].nmatch,		     tests[i].nmatch ? rm : NULL, 0))	{	  printf ("regexec %d incorrectly matched\n", i);	  ret = 1;	}      regfree (&re);    }  return ret;}