Documentation

Regex::Contains

Function

bool Regex::Contains(const string&in source, const string&in pattern, int flags = Regex::Flags::ECMAScript)

Perform a regex match on the source string and returns true if it contains the pattern.

string source

string pattern

int flags

Returns bool