4
/* substitute into one string using the matches from the last regexec() */
6
regsub(char *sp, /* source string */
7
char *dp, /* destination string */
9
Resub *mp, /* subexpression elements */
10
int ms) /* number of elements pointed to by mp */
30
if(mp[i].s.sp != 0 && mp!=0 && ms>i)
50
if(mp[0].s.sp != 0 && mp!=0 && ms>0)
53
ssp < mp[0].e.ep; ssp++)