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
Revision as of 09:40, 29 December 2017 by Nguyenduyan (talk | contribs) (Created page with "Category:General_Functions {{HelpFiles}} = Regex_isMatch = == Syntax == Regex_isMatch(string regularExpression,string inputString, bool ignoreCase ); == Arguments...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



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