rem: return insert_new_lump_after(l, str, strlen(str), 0)?1:-1;
add: return -1;
context: static int search_append_f(struct sip_msg* msg, char* key, char* str){	struct lump* l;	regmatch_t pmatch;	if (regexec((regex_t*) key, msg->orig, 1, &pmatch, 0)!=0) return -1;	if (pmatch.rm_so!=-1){		if ((l=anchor_lump(&msg->add_rm, pmatch.rm_eo, 0, 0))==0)			return -1;	}	return insert_new_lump_after(l, str, strlen(str), 0)?1:-1;}