C# 클래스 Gammtek.Conduit.Text.StringMatching.RegexMatcher

Implements string matching algorithm which tries to match regular expression pattern with input strings.
상속: IStringMatcher
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer

공개 메소드들

메소드 설명
IsMatch ( string value ) : bool

Tests whether valeu can be matched with Pattern.

RegexMatcher ( ) : System

Default constructor.

RegexMatcher ( string pattern ) : System

Constructor which initializes regular expression pattern against which input strings are matched.

비공개 메소드들

메소드 설명
TestPattern ( string pattern, bool throwException ) : bool

Tests whether pattern is a valid regular expression pattern.

메소드 상세

IsMatch() 공개 메소드

Tests whether valeu can be matched with Pattern.
is null or empty.
public IsMatch ( string value ) : bool
value string /// String which is tested using the regular expression pattern /// stored in the property. ///
리턴 bool

RegexMatcher() 공개 메소드

Default constructor.
public RegexMatcher ( ) : System
리턴 System

RegexMatcher() 공개 메소드

Constructor which initializes regular expression pattern against which input strings are matched.
is null. is not a valid regular expression pattern.
public RegexMatcher ( string pattern ) : System
pattern string Regular expression pattern used to match input strings.
리턴 System