Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Regex isMatch

From Catglobe Wiki



Regex_isMatch

Syntax

Regex_isMatch(string regularExpression,string inputString, bool ignoreCase );

Arguments

regularExpression: string.

inputString: string.

ignoreCase: bool.

Return type

Bool

Example

//Example 1
string regularExpression = "ab*c";
string inputString = "are you looking for ac";
bool ignoreCase = true;
Regex_isMatch(regularExpression,inputString, ignoreCase );//true

//Example 2
string regularExpression = "ab*c";
string inputString = "are you looking for ab c";
bool ignoreCase = true;
Regex_isMatch(regularExpression,inputString, ignoreCase );//false