MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / IsCharMatch

Function IsCharMatch

Engine/source/core/strings/findMatch.cpp:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96inline bool IsCharMatch( char e, char s, bool caseSensitive )
97{
98 return ( ( e == '?' ) || ( caseSensitive && e == s ) || ( dToupper(e) == dToupper(s) ) );
99}
100
101bool FindMatch::isMatch( const char *exp, const char *str, bool caseSensitive )
102{

Callers 1

isMatchMethod · 0.85

Calls 1

dToupperFunction · 0.85

Tested by

no test coverage detected