MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / contains

Method contains

source/core/StarString.cpp:711–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709}
710
711bool String::contains(String const& s, CaseSensitivity cs) const {
712 return find(s, 0, cs) != NPos;
713}
714
715bool String::regexMatch(String const& regex, bool full, bool caseSensitive) const {
716 re2::RE2::Options options;

Callers

nothing calls this directly

Calls 4

findFunction · 0.85
beginFunction · 0.85
endFunction · 0.85
compareMethod · 0.45

Tested by

no test coverage detected