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

Method findMatch

Engine/source/core/strings/findMatch.cpp:80–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool FindMatch::findMatch( const char *str, bool caseSensitive )
81{
82 if ( isFull() )
83 return false;
84
85 char nstr[512];
86 dStrcpy( nstr,str,512 );
87 dStrupr(nstr);
88 if ( isMatch( expression, nstr, caseSensitive ) )
89 {
90 matchList.push_back( (char*)str );
91 return true;
92 }
93 return false;
94}
95
96inline bool IsCharMatch( char e, char s, bool caseSensitive )
97{

Callers

nothing calls this directly

Calls 3

dStrcpyFunction · 0.85
dStruprFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected