ch_islower
if (ch_islower(*p))
return ch_islower(ch) || ch_isupper(ch);
return ch_islower(ch) ? (char)(ch - 'a' + 'A') : ch;
while (ch_islower(*p) || *p == '-')
if (ch_islower(buf->data[i]))