Update libregexp with recent bug fixes from Plan 9.

This commit is contained in:
rsc 2004-03-05 05:13:56 +00:00
parent 4da83e7cce
commit 62390091b7
12 changed files with 111 additions and 81 deletions

View file

@ -53,9 +53,10 @@ regsub(char *sp, /* source string */
ssp < mp[0].e.ep; ssp++)
if(dp < ep)
*dp++ = *ssp;
}else
}else{
if(dp < ep)
*dp++ = *sp;
}
sp++;
}
*dp = '\0';