ishexnumber
int ishexnumber(int);
if (ishexnumber(*key) != 0 || *key == ':') {
if (!(ishexnumber(c[0]) && ishexnumber(c[1])))