alphanum
if (chartype[(int)*buf_ptr] == alphanum ||
while (chartype[(int)*buf_ptr] == alphanum) { /* copy it over */