MCPcopy Create free account
hub / github.com/WallBreaker2/op / ContainsInsensitive

Function ContainsInsensitive

tests/test_support.cpp:184–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184bool ContainsInsensitive(const std::wstring &haystack, const std::wstring &needle) {
185 return ToLowerCopy(haystack).find(ToLowerCopy(needle)) != std::wstring::npos;
186}
187
188std::wstring NormalizeOcrLetters(const std::wstring &text) {
189 std::wstring normalized;

Callers 1

Calls 2

ToLowerCopyFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected