Regex group

Global functions

string Regex::Replace(const string&in source, const string&in pattern, const string&in replace, Regex::Flags = Regex :: Flags :: ECMAScript)

Perform a regex search and replace on the given string.

bool Regex::IsMatch(const string&in source, const string&in pattern, Regex::Flags = Regex :: Flags :: ECMAScript)

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

string[]@ Regex::Match(const string&in source, const string&in pattern, Regex::Flags = Regex :: Flags :: ECMAScript)

Performs a regex match on the source string and returns the matched groups if it matches, or an empty array if it doesn't.

string[]@ Regex::Search(const string&in source, const string&in pattern, Regex::Flags = Regex :: Flags :: ECMAScript)

Searches for a regex match on the source string and returns the matched groups if it matches, or an empty array if it doesn't.

Regex::SearchAllResult@ Regex::SearchAll(const string&in source, const string&in pattern, Regex::Flags = Regex :: Flags :: ECMAScript)

Searches for a regex match on the source string and returns all the matches.