C# Class wmib.Core.RegexCheck

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

Méthodes publiques

Méthode 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

Méthode Description
Run ( ) : void

Start check

Method Details

IsMatch() public méthode

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

RegexCheck() public méthode

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