C# 클래스 Kobi.RecreationalRegex.PcreGrammar.PcreGrammar

Stack Overflow Question #3349999 - http://stackoverflow.com/q/3349999/7586 Translate PCRE grammar to .Net

Grammar:

Q -> \w | '[' A ';' Q* ','? Q* ']' | '<' A '>' A -> (Q | ',')* (match ^A$.)
파일 보기 프로젝트 열기: kobi/RecreationalRegex

공개 프로퍼티들

프로퍼티 타입 설명
FirstAttempt System.Text.RegularExpressions.Regex
FirstAttemptPattern string
LatestAttempt System.Text.RegularExpressions.Regex
MonthsLater string

공개 메소드들

메소드 설명
NumberedStatesPcreGrammarRegex ( ) : Regex
NumberedStatesPcreGrammarStates ( ) : IEnumerable
NumberedStatesPcreGrammarWithCapturesRegex ( ) : Regex
NumberedStatesPcreGrammarWithCapturesStates ( ) : IEnumerable

비공개 메소드들

메소드 설명
GetStateStar ( State state ) : State

For a State "X", generate a new State classed "XStar" representing "X*".

메소드 상세

NumberedStatesPcreGrammarRegex() 공개 정적인 메소드

public static NumberedStatesPcreGrammarRegex ( ) : Regex
리턴 System.Text.RegularExpressions.Regex

NumberedStatesPcreGrammarStates() 공개 정적인 메소드

public static NumberedStatesPcreGrammarStates ( ) : IEnumerable
리턴 IEnumerable

NumberedStatesPcreGrammarWithCapturesRegex() 공개 정적인 메소드

public static NumberedStatesPcreGrammarWithCapturesRegex ( ) : Regex
리턴 System.Text.RegularExpressions.Regex

NumberedStatesPcreGrammarWithCapturesStates() 공개 정적인 메소드

public static NumberedStatesPcreGrammarWithCapturesStates ( ) : IEnumerable
리턴 IEnumerable

프로퍼티 상세

FirstAttempt 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions FirstAttempt
리턴 System.Text.RegularExpressions.Regex

FirstAttemptPattern 공개적으로 정적으로 프로퍼티

public static string FirstAttemptPattern
리턴 string

LatestAttempt 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions LatestAttempt
리턴 System.Text.RegularExpressions.Regex

MonthsLater 공개적으로 정적으로 프로퍼티

public static string MonthsLater
리턴 string