C# Class wmib.Core.RegexCheck

This is a class that check if regex matches value while it doesn't affect the system thread
Datei anzeigen Open project: benapetr/wikimedia-bot Class Usage Examples

Public Methods

Method Description
IsMatch ( ) : int

Return 1 in case that regex match, 0 if it doesn't, 2 if it timed out, and 800 error

RegexCheck ( string Regex, string Data ) : System

Creates a new instance of regex check

Private Methods

Method Description
Run ( ) : void

Start check

Method Details

IsMatch() public method

Return 1 in case that regex match, 0 if it doesn't, 2 if it timed out, and 800 error
public IsMatch ( ) : int
return int

RegexCheck() public method

Creates a new instance of regex check
public RegexCheck ( string Regex, string Data ) : System
Regex string
Data string
return System