2 sv_append_till(sv,from,fromend,delim,keeplist)
5 register char *fromend;
17 if (!SvUPGRADE(sv, SVt_PV))
19 SvGROW(sv, SvCUR(sv) + len + 1);
20 SvPOK_only(sv); /* validate pointer */
21 to = SvPV(sv)+SvCUR(sv);
22 for (; from < fromend; from++,to++) {
23 if (*from == '\\' && from+1 < fromend && delim != '\\') {
26 else if (from[1] && index(keeplist,from[1]))
31 else if (*from == delim)
36 SvCUR_set(sv, to - SvPV(sv));