C# Class hOOt.WildcardMatcher

Implements string matching algorithm which tries to match pattern containing wildcard characters with the given input string.
Inheritance: IStringMatcher
ファイルを表示 Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
IsMatch ( string value ) : bool

Tries to match value against Pattern value stored in this instance.

WildcardMatcher ( string pattern )

Constructor which initializes pattern against which input strings are matched.

Private Methods

Method Description
WildcardMatcher ( string pattern, char singleWildcard, char multipleWildcard )

Constructor which initializes pattern against which input strings are matched and wildcard characters used in string matching.

Method Details

IsMatch() public method

Tries to match value against Pattern value stored in this instance.
public IsMatch ( string value ) : bool
value string String which should be matched against the contained pattern.
return bool

WildcardMatcher() public method

Constructor which initializes pattern against which input strings are matched.
public WildcardMatcher ( string pattern )
pattern string Pattern used to match input strings.