resub
static int resub(regex_t *, regmatch_t *, char *, char *, char *, char *);
resub(&(pt->rcmp),pm,pt->nstr,inpt, outpt,endpt)