MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / match

Method match

modules/gui/gui/src/backend/text_server/ustring.cpp:4078–4086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4076}
4077
4078bool String::match(const String& p_wildcard) const
4079{
4080 if (!p_wildcard.length() || !length())
4081 {
4082 return false;
4083 }
4084
4085 return _wildcard_match(p_wildcard.get_data(), get_data(), true);
4086}
4087
4088bool String::matchn(const String& p_wildcard) const
4089{

Callers

nothing calls this directly

Calls 5

_wildcard_matchFunction · 0.85
lengthFunction · 0.50
get_dataFunction · 0.50
lengthMethod · 0.45
get_dataMethod · 0.45

Tested by

no test coverage detected