| 7985 | // current locale. |
| 7986 | bool IsAsciiDigit(char ch) { return '0' <= ch && ch <= '9'; } |
| 7987 | bool IsAsciiPunct(char ch) { |
| 7988 | return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~"); |
| 7989 | } |
| 7990 | bool IsRepeat(char ch) { return IsInSet(ch, "?*+"); } |
| 7991 | bool IsAsciiWhiteSpace(char ch) { return IsInSet(ch, " \f\n\r\t\v"); } |
| 7992 | bool IsAsciiWordChar(char ch) { |
no test coverage detected