static bool isPunctuationChar(char c) { ret !isSpace(c) && !isLetterOrDigit(c); }