C# Class Pihrtsoft.Text.RegularExpressions.Linq.Chars

Exposes static methods that returns instance of CharGrouping class. CharGrouping class represents a character group content.
Exibir arquivo Open project: JosefPihrt/LinqToRegex Class Usage Examples

Public Methods

Method Description
Alphanumeric ( ) : CharGrouping

Returns a pattern that matches a latin alphabet letter or an arabic digit.

AlphanumericUnderscore ( ) : CharGrouping

Returns a pattern that matches a latin alphabet letter, an arabic digit or an underscore.

Ampersand ( ) : CharGrouping

Returns a pattern that matches an ampersand.

Apostrophe ( ) : CharGrouping

Returns a pattern that matches apostrophe.

ArabicDigit ( ) : CharGrouping

Returns a pattern that matches an arabic digit.

Asterisk ( ) : CharGrouping

Returns a pattern that matches an asterisk.

AtSign ( ) : CharGrouping

Returns a pattern that matches an at sign.

Backslash ( ) : CharGrouping

Returns a pattern that matches a backslash.

CarriageReturn ( ) : CharGrouping

Returns a pattern that matches a carriage return.

Character ( AsciiChar value ) : CharGrouping

Returns a pattern that matches specified Unicode character.

Character ( GeneralCategory category ) : CharGrouping

Returns a pattern that matches a character from the specified Unicode category.

Character ( NamedBlock block ) : CharGrouping

Returns a pattern that matches a character from the specified Unicode block.

Character ( char value ) : CharGrouping

Returns a pattern that matches specified Unicode character.

Character ( string characters ) : CharGrouping

Returns a pattern that matches any one of the specified characters.

CircumflexAccent ( ) : CharGrouping

Returns a pattern that matches a circumflex accent.

Colon ( ) : CharGrouping

Returns a pattern that matches a colon.

Comma ( ) : CharGrouping

Returns a pattern that matches a comma.

CurlyBracket ( ) : CharGrouping

Returns a pattern that matches left or right curly bracket.

Digit ( ) : CharGrouping

Returns a pattern that matches a character from the digit character class.

Dollar ( ) : CharGrouping

Returns a pattern that matches a dollar character.

Dot ( ) : CharGrouping

Returns a pattern that matches a period.

EqualsSign ( ) : CharGrouping

Returns a pattern that matches an equals sign.

ExclamationMark ( ) : CharGrouping

Returns a pattern that matches exclamation mark.

GeneralCategory ( GeneralCategory category ) : CharGrouping

Returns a pattern that matches a character from the specified Unicode category.

GraveAccent ( ) : CharGrouping

Returns a pattern that matches a grave accent.

HexadecimalDigit ( ) : CharGrouping

Returns a pattern that matches a hexadecimal digit.

Hyphen ( ) : CharGrouping

Returns a pattern that matches a hyphen.

LatinLetter ( ) : CharGrouping

Returns a pattern that matches a latin alphabet letter.

LeftAngleBracket ( ) : CharGrouping

Returns a pattern that matches a left angle bracket (less-than sign).

LeftCurlyBracket ( ) : CharGrouping

Returns a pattern that matches left curly bracket

LeftParenthesis ( ) : CharGrouping

Returns a pattern that matches left parenthesis.

LeftSquareBracket ( ) : CharGrouping

Returns a pattern that matches left square bracket.

Linefeed ( ) : CharGrouping

Returns a pattern that matches a linefeed.

NamedBlock ( NamedBlock block ) : CharGrouping

Returns a pattern that matches a character from the specified Unicode block.

NewLineChar ( ) : CharGrouping

Returns a pattern that matches a new line character, i.e. a linefeed character or a carriage return character.

Not ( GeneralCategory category ) : CharGrouping

Returns a pattern that matches a character that is not from the specified Unicode category.

Not ( NamedBlock block ) : CharGrouping

Returns a pattern that matches a character that is not from the specified Unicode block.

NotDigit ( ) : CharGrouping

Returns a pattern that matches a character that is not from the digit character class.

NotWhiteSpace ( ) : CharGrouping

Returns a pattern that matches a character that is not from the digit character class.

NotWordChar ( ) : CharGrouping

Returns a pattern that matches a character that is not from the word character class.

NumberSign ( ) : CharGrouping

Returns a pattern that matches a number sign.

Parenthesis ( ) : CharGrouping

Returns a pattern that matches left or right parenthesis.

Percent ( ) : CharGrouping

Returns a pattern that matches a percent sign.

Plus ( ) : CharGrouping

Returns a pattern that matches a plus sign.

QuestionMark ( ) : CharGrouping

Returns a pattern that matches a question mark.

QuoteMark ( ) : CharGrouping

Returns a pattern that matches a quotation mark.

Range ( char first, char last ) : CharGrouping

Returns a pattern that matches any one character from the specified range.

RightAngleBracket ( ) : CharGrouping

Returns a pattern that matches a right angle bracket (greater-than sign).

RightCurlyBracket ( ) : CharGrouping

Returns a pattern that matches right curly bracket.

RightParenthesis ( ) : CharGrouping

Returns a pattern that matches right parenthesis.

RightSquareBracket ( ) : CharGrouping

Returns a pattern that matches right square bracket.

Semicolon ( ) : CharGrouping

Returns a pattern that matches a semicolon.

Slash ( ) : CharGrouping

Returns a pattern that matches a slash.

SlashOrBackslash ( ) : CharGrouping

Returns a pattern that matches slash or backslash.

Space ( ) : CharGrouping

Returns a pattern that matches a space character.

SquareBracket ( ) : CharGrouping

Returns a pattern that matches left or right square bracket.

Tab ( ) : CharGrouping

Returns a pattern that matches a tab.

Tilde ( ) : CharGrouping

Returns a pattern that matches a tilde.

Underscore ( ) : CharGrouping

Returns a pattern that matches an underscore.

VerticalBar ( ) : CharGrouping

Returns a pattern that matches a vertical bar.

WhiteSpace ( ) : CharGrouping

Returns a pattern that matches a character from the white-space character class.

WordChar ( ) : CharGrouping

Returns a pattern that matches a character from the word character class.

Private Methods

Method Description
Character ( CharClass value ) : CharGrouping
Character ( CharGrouping value ) : CharGrouping
Character ( GeneralCategory category, bool negative ) : CharGrouping
Character ( NamedBlock block, bool negative ) : CharGrouping

Method Details

Alphanumeric() public static method

Returns a pattern that matches a latin alphabet letter or an arabic digit.
public static Alphanumeric ( ) : CharGrouping
return CharGrouping

AlphanumericUnderscore() public static method

Returns a pattern that matches a latin alphabet letter, an arabic digit or an underscore.
public static AlphanumericUnderscore ( ) : CharGrouping
return CharGrouping

Ampersand() public static method

Returns a pattern that matches an ampersand.
public static Ampersand ( ) : CharGrouping
return CharGrouping

Apostrophe() public static method

Returns a pattern that matches apostrophe.
public static Apostrophe ( ) : CharGrouping
return CharGrouping

ArabicDigit() public static method

Returns a pattern that matches an arabic digit.
public static ArabicDigit ( ) : CharGrouping
return CharGrouping

Asterisk() public static method

Returns a pattern that matches an asterisk.
public static Asterisk ( ) : CharGrouping
return CharGrouping

AtSign() public static method

Returns a pattern that matches an at sign.
public static AtSign ( ) : CharGrouping
return CharGrouping

Backslash() public static method

Returns a pattern that matches a backslash.
public static Backslash ( ) : CharGrouping
return CharGrouping

CarriageReturn() public static method

Returns a pattern that matches a carriage return.
public static CarriageReturn ( ) : CharGrouping
return CharGrouping

Character() public static method

Returns a pattern that matches specified Unicode character.
public static Character ( AsciiChar value ) : CharGrouping
value AsciiChar An enumerated constant that identifies ASCII character.
return CharGrouping

Character() public static method

Returns a pattern that matches a character from the specified Unicode category.
public static Character ( GeneralCategory category ) : CharGrouping
category GeneralCategory An enumerated constant that identifies Unicode category.
return CharGrouping

Character() public static method

Returns a pattern that matches a character from the specified Unicode block.
public static Character ( NamedBlock block ) : CharGrouping
block NamedBlock An enumerated constant that identifies Unicode block.
return CharGrouping

Character() public static method

Returns a pattern that matches specified Unicode character.
public static Character ( char value ) : CharGrouping
value char A Unicode character.
return CharGrouping

Character() public static method

Returns a pattern that matches any one of the specified characters.
is null. length is equal to zero.
public static Character ( string characters ) : CharGrouping
characters string A set of Unicode characters.
return CharGrouping

CircumflexAccent() public static method

Returns a pattern that matches a circumflex accent.
public static CircumflexAccent ( ) : CharGrouping
return CharGrouping

Colon() public static method

Returns a pattern that matches a colon.
public static Colon ( ) : CharGrouping
return CharGrouping

Comma() public static method

Returns a pattern that matches a comma.
public static Comma ( ) : CharGrouping
return CharGrouping

CurlyBracket() public static method

Returns a pattern that matches left or right curly bracket.
public static CurlyBracket ( ) : CharGrouping
return CharGrouping

Digit() public static method

Returns a pattern that matches a character from the digit character class.
public static Digit ( ) : CharGrouping
return CharGrouping

Dollar() public static method

Returns a pattern that matches a dollar character.
public static Dollar ( ) : CharGrouping
return CharGrouping

Dot() public static method

Returns a pattern that matches a period.
public static Dot ( ) : CharGrouping
return CharGrouping

EqualsSign() public static method

Returns a pattern that matches an equals sign.
public static EqualsSign ( ) : CharGrouping
return CharGrouping

ExclamationMark() public static method

Returns a pattern that matches exclamation mark.
public static ExclamationMark ( ) : CharGrouping
return CharGrouping

GeneralCategory() public static method

Returns a pattern that matches a character from the specified Unicode category.
public static GeneralCategory ( GeneralCategory category ) : CharGrouping
category GeneralCategory An enumerated constant that identifies Unicode category.
return CharGrouping

GraveAccent() public static method

Returns a pattern that matches a grave accent.
public static GraveAccent ( ) : CharGrouping
return CharGrouping

HexadecimalDigit() public static method

Returns a pattern that matches a hexadecimal digit.
public static HexadecimalDigit ( ) : CharGrouping
return CharGrouping

Hyphen() public static method

Returns a pattern that matches a hyphen.
public static Hyphen ( ) : CharGrouping
return CharGrouping

LatinLetter() public static method

Returns a pattern that matches a latin alphabet letter.
public static LatinLetter ( ) : CharGrouping
return CharGrouping

LeftAngleBracket() public static method

Returns a pattern that matches a left angle bracket (less-than sign).
public static LeftAngleBracket ( ) : CharGrouping
return CharGrouping

LeftCurlyBracket() public static method

Returns a pattern that matches left curly bracket
public static LeftCurlyBracket ( ) : CharGrouping
return CharGrouping

LeftParenthesis() public static method

Returns a pattern that matches left parenthesis.
public static LeftParenthesis ( ) : CharGrouping
return CharGrouping

LeftSquareBracket() public static method

Returns a pattern that matches left square bracket.
public static LeftSquareBracket ( ) : CharGrouping
return CharGrouping

Linefeed() public static method

Returns a pattern that matches a linefeed.
public static Linefeed ( ) : CharGrouping
return CharGrouping

NamedBlock() public static method

Returns a pattern that matches a character from the specified Unicode block.
public static NamedBlock ( NamedBlock block ) : CharGrouping
block NamedBlock An enumerated constant that identifies Unicode block.
return CharGrouping

NewLineChar() public static method

Returns a pattern that matches a new line character, i.e. a linefeed character or a carriage return character.
public static NewLineChar ( ) : CharGrouping
return CharGrouping

Not() public static method

Returns a pattern that matches a character that is not from the specified Unicode category.
public static Not ( GeneralCategory category ) : CharGrouping
category GeneralCategory An enumerated constant that identifies Unicode category.
return CharGrouping

Not() public static method

Returns a pattern that matches a character that is not from the specified Unicode block.
public static Not ( NamedBlock block ) : CharGrouping
block NamedBlock An enumerated constant that identifies Unicode block.
return CharGrouping

NotDigit() public static method

Returns a pattern that matches a character that is not from the digit character class.
public static NotDigit ( ) : CharGrouping
return CharGrouping

NotWhiteSpace() public static method

Returns a pattern that matches a character that is not from the digit character class.
public static NotWhiteSpace ( ) : CharGrouping
return CharGrouping

NotWordChar() public static method

Returns a pattern that matches a character that is not from the word character class.
public static NotWordChar ( ) : CharGrouping
return CharGrouping

NumberSign() public static method

Returns a pattern that matches a number sign.
public static NumberSign ( ) : CharGrouping
return CharGrouping

Parenthesis() public static method

Returns a pattern that matches left or right parenthesis.
public static Parenthesis ( ) : CharGrouping
return CharGrouping

Percent() public static method

Returns a pattern that matches a percent sign.
public static Percent ( ) : CharGrouping
return CharGrouping

Plus() public static method

Returns a pattern that matches a plus sign.
public static Plus ( ) : CharGrouping
return CharGrouping

QuestionMark() public static method

Returns a pattern that matches a question mark.
public static QuestionMark ( ) : CharGrouping
return CharGrouping

QuoteMark() public static method

Returns a pattern that matches a quotation mark.
public static QuoteMark ( ) : CharGrouping
return CharGrouping

Range() public static method

Returns a pattern that matches any one character from the specified range.
public static Range ( char first, char last ) : CharGrouping
first char The first character of the range.
last char The last character of the range.
return CharGrouping

RightAngleBracket() public static method

Returns a pattern that matches a right angle bracket (greater-than sign).
public static RightAngleBracket ( ) : CharGrouping
return CharGrouping

RightCurlyBracket() public static method

Returns a pattern that matches right curly bracket.
public static RightCurlyBracket ( ) : CharGrouping
return CharGrouping

RightParenthesis() public static method

Returns a pattern that matches right parenthesis.
public static RightParenthesis ( ) : CharGrouping
return CharGrouping

RightSquareBracket() public static method

Returns a pattern that matches right square bracket.
public static RightSquareBracket ( ) : CharGrouping
return CharGrouping

Semicolon() public static method

Returns a pattern that matches a semicolon.
public static Semicolon ( ) : CharGrouping
return CharGrouping

Slash() public static method

Returns a pattern that matches a slash.
public static Slash ( ) : CharGrouping
return CharGrouping

SlashOrBackslash() public static method

Returns a pattern that matches slash or backslash.
public static SlashOrBackslash ( ) : CharGrouping
return CharGrouping

Space() public static method

Returns a pattern that matches a space character.
public static Space ( ) : CharGrouping
return CharGrouping

SquareBracket() public static method

Returns a pattern that matches left or right square bracket.
public static SquareBracket ( ) : CharGrouping
return CharGrouping

Tab() public static method

Returns a pattern that matches a tab.
public static Tab ( ) : CharGrouping
return CharGrouping

Tilde() public static method

Returns a pattern that matches a tilde.
public static Tilde ( ) : CharGrouping
return CharGrouping

Underscore() public static method

Returns a pattern that matches an underscore.
public static Underscore ( ) : CharGrouping
return CharGrouping

VerticalBar() public static method

Returns a pattern that matches a vertical bar.
public static VerticalBar ( ) : CharGrouping
return CharGrouping

WhiteSpace() public static method

Returns a pattern that matches a character from the white-space character class.
public static WhiteSpace ( ) : CharGrouping
return CharGrouping

WordChar() public static method

Returns a pattern that matches a character from the word character class.
public static WordChar ( ) : CharGrouping
return CharGrouping