C# 클래스 Pihrtsoft.Text.RegularExpressions.Linq.Examples.Snippets

파일 보기 프로젝트 열기: JosefPihrt/LinqToRegex

공개 메소드들

메소드 설명
CSharpCharacterLiteral ( ) : Pattern
CSharpEscapedTextLiteral ( ) : Pattern
CSharpLineComment ( ) : Pattern
CSharpLiteral ( ) : Pattern
CSharpLiteralOrComment ( ) : Pattern
CSharpMultilineComment ( ) : Pattern
CSharpTextLiteral ( ) : Pattern
CSharpVerbatimTextLiteral ( ) : Pattern
EmailAddress ( ) : Pattern
EmptyLine ( ) : QuantifiablePattern

Returns a pattern that matches an empty line. Neither carriage return nor linefeed is included in the match.

EmptyLine ( bool includeNewLine ) : QuantifiablePattern

Returns a pattern that matches an empty line, optionally including new line characters. Empty line is defined as a start of line

EmptyOrWhiteSpaceLine ( ) : QuantifiablePattern

Returns a pattern that matches a line that is empty or contains only whitespace(s). Neither carriage return nor linefeed is included in the match.

EmptyOrWhiteSpaceLine ( bool includeNewLine ) : QuantifiablePattern

Returns a pattern that matches a line that is empty or contains only whitespace(s), optionally including new line characters.

FirstLineWithoutNewLine ( ) : QuantifiablePattern

Returns a pattern that matches first line of the string. Neither carriage return nor linefeed is included in the match.

LeadingTrailingWhiteSpace ( ) : QuantifiablePattern

Returns a pattern that matches leading and trailing whitespace of the string (or line if the RegexOptions.Multiline option is applied). A carriage return is not included in the match.

LeadingWhiteSpace ( ) : QuantifiablePattern

Returns a pattern that matches leading whitespace of the string (or line if the RegexOptions.Multiline option is applied).

LineLeadingWhiteSpace ( ) : QuantifiablePattern
LineTrailingWhiteSpace ( ) : QuantifiablePattern
LinefeedWithoutCarriageReturn ( ) : QuantifiablePattern

Returns a pattern that matches a linefeed that is not preceded with a carriage return.

TrailingWhiteSpace ( ) : QuantifiablePattern

Returns a pattern that matches trailing whitespace of the string (or line if the RegexOptions.Multiline option is applied). A carriage return is not included in the match.

XmlCData ( ) : Pattern

비공개 메소드들

메소드 설명
NonEmptyLine ( ) : QuantifiablePattern
NonEmptyLine ( bool includeNewLine ) : QuantifiablePattern
NonEmptyOrWhiteSpaceLine ( ) : QuantifiablePattern
NonEmptyOrWhiteSpaceLine ( bool includeNewLine ) : QuantifiablePattern

메소드 상세

CSharpCharacterLiteral() 공개 정적인 메소드

public static CSharpCharacterLiteral ( ) : Pattern
리턴 Pattern

CSharpEscapedTextLiteral() 공개 정적인 메소드

public static CSharpEscapedTextLiteral ( ) : Pattern
리턴 Pattern

CSharpLineComment() 공개 정적인 메소드

public static CSharpLineComment ( ) : Pattern
리턴 Pattern

CSharpLiteral() 공개 정적인 메소드

public static CSharpLiteral ( ) : Pattern
리턴 Pattern

CSharpLiteralOrComment() 공개 정적인 메소드

public static CSharpLiteralOrComment ( ) : Pattern
리턴 Pattern

CSharpMultilineComment() 공개 정적인 메소드

public static CSharpMultilineComment ( ) : Pattern
리턴 Pattern

CSharpTextLiteral() 공개 정적인 메소드

public static CSharpTextLiteral ( ) : Pattern
리턴 Pattern

CSharpVerbatimTextLiteral() 공개 정적인 메소드

public static CSharpVerbatimTextLiteral ( ) : Pattern
리턴 Pattern

EmailAddress() 공개 정적인 메소드

public static EmailAddress ( ) : Pattern
리턴 Pattern

EmptyLine() 공개 정적인 메소드

Returns a pattern that matches an empty line. Neither carriage return nor linefeed is included in the match.
public static EmptyLine ( ) : QuantifiablePattern
리턴 QuantifiablePattern

EmptyLine() 공개 정적인 메소드

Returns a pattern that matches an empty line, optionally including new line characters. Empty line is defined as a start of line
public static EmptyLine ( bool includeNewLine ) : QuantifiablePattern
includeNewLine bool Indicates whether new line characters should be included in the match.
리턴 QuantifiablePattern

EmptyOrWhiteSpaceLine() 공개 정적인 메소드

Returns a pattern that matches a line that is empty or contains only whitespace(s). Neither carriage return nor linefeed is included in the match.
public static EmptyOrWhiteSpaceLine ( ) : QuantifiablePattern
리턴 QuantifiablePattern

EmptyOrWhiteSpaceLine() 공개 정적인 메소드

Returns a pattern that matches a line that is empty or contains only whitespace(s), optionally including new line characters.
public static EmptyOrWhiteSpaceLine ( bool includeNewLine ) : QuantifiablePattern
includeNewLine bool Indicates whether new line characters should be included in the match.
리턴 QuantifiablePattern

FirstLineWithoutNewLine() 공개 정적인 메소드

Returns a pattern that matches first line of the string. Neither carriage return nor linefeed is included in the match.
public static FirstLineWithoutNewLine ( ) : QuantifiablePattern
리턴 QuantifiablePattern

LeadingTrailingWhiteSpace() 공개 정적인 메소드

Returns a pattern that matches leading and trailing whitespace of the string (or line if the RegexOptions.Multiline option is applied). A carriage return is not included in the match.
public static LeadingTrailingWhiteSpace ( ) : QuantifiablePattern
리턴 QuantifiablePattern

LeadingWhiteSpace() 공개 정적인 메소드

Returns a pattern that matches leading whitespace of the string (or line if the RegexOptions.Multiline option is applied).
public static LeadingWhiteSpace ( ) : QuantifiablePattern
리턴 QuantifiablePattern

LineLeadingWhiteSpace() 공개 정적인 메소드

public static LineLeadingWhiteSpace ( ) : QuantifiablePattern
리턴 QuantifiablePattern

LineTrailingWhiteSpace() 공개 정적인 메소드

public static LineTrailingWhiteSpace ( ) : QuantifiablePattern
리턴 QuantifiablePattern

LinefeedWithoutCarriageReturn() 공개 정적인 메소드

Returns a pattern that matches a linefeed that is not preceded with a carriage return.
public static LinefeedWithoutCarriageReturn ( ) : QuantifiablePattern
리턴 QuantifiablePattern

TrailingWhiteSpace() 공개 정적인 메소드

Returns a pattern that matches trailing whitespace of the string (or line if the RegexOptions.Multiline option is applied). A carriage return is not included in the match.
public static TrailingWhiteSpace ( ) : QuantifiablePattern
리턴 QuantifiablePattern

XmlCData() 공개 정적인 메소드

public static XmlCData ( ) : Pattern
리턴 Pattern