Documentation

Regex::IsMatch

Function

bool Regex::IsMatch(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 matches.

string source

string pattern

int flags

Returns bool