MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / IsAsciiWordChar

Function IsAsciiWordChar

rtpose_wrapper/src/gtest/gtest-all.cpp:7992–7995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7990bool IsRepeat(char ch) { return IsInSet(ch, "?*+"); }
7991bool IsAsciiWhiteSpace(char ch) { return IsInSet(ch, " \f\n\r\t\v"); }
7992bool IsAsciiWordChar(char ch) {
7993 return ('a' <= ch && ch <= 'z') || ('A' <= ch && ch <= 'Z') ||
7994 ('0' <= ch && ch <= '9') || ch == '_';
7995}
7996
7997// Returns true iff "\\c" is a supported escape sequence.
7998bool IsValidEscape(char c) {

Callers 1

AtomMatchesCharFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected