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

Represents an immutable content of the character group. Content can be a base group or an excluded group. This class is abstract.
Inheritance: IBaseGroup, IExcludedGroup
Show file Open project: JosefPihrt/LinqToRegex Class Usage Examples

Private Properties

Property Type Description
Append CharGrouping
AppendContentTo void

Public Methods

Method Description
Alphanumeric ( ) : CharGrouping

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

AlphanumericUnderscore ( ) : CharGrouping

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

Ampersand ( ) : CharGrouping

Matches an ampersand.

Apostrophe ( ) : CharGrouping

Appends a pattern that matches an apostrophe.

Append ( AsciiChar value ) : CharGrouping

Appends a pattern that matches specified Unicode character.

Append ( GeneralCategory category ) : CharGrouping

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

Append ( NamedBlock block ) : CharGrouping

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

Append ( char value ) : CharGrouping

Appends a pattern that matches specified Unicode character.

Append ( string characters ) : CharGrouping

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

AppendBaseGroupTo ( PatternBuilder builder ) : void

Appends the text representation of the current instance of the character grouping to the specified PatternBuilder.

AppendExcludedGroupTo ( PatternBuilder builder ) : void

Appends the text representation of the character group containing the current instance to the specified PatternBuilder.

ArabicDigit ( ) : CharGrouping

Matches an arabic digit.

Asterisk ( ) : CharGrouping

Appends a pattern that matches an asterisk.

AtSign ( ) : CharGrouping

Appends a pattern that matches an at sign.

Backslash ( ) : CharGrouping

Appends a pattern that matches a backslash.

CarriageReturn ( ) : CharGrouping

Appends a pattern that matches a carriage return.

Character ( AsciiChar value ) : CharGrouping

Appends a pattern that matches specified Unicode character.

Character ( GeneralCategory category ) : CharGrouping

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

Character ( NamedBlock block ) : CharGrouping

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

Character ( char value ) : CharGrouping

Appends a pattern that matches specified Unicode character.

Character ( string characters ) : CharGrouping

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

CircumflexAccent ( ) : CharGrouping

Appends a pattern that matches a circumflex accent.

Colon ( ) : CharGrouping

Appends a pattern that matches a colon.

Comma ( ) : CharGrouping

Appends a pattern that matches a comma.

CurlyBracket ( ) : CharGrouping

Appends a pattern that matches left or right curly bracket.

Digit ( ) : CharGrouping

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

Dollar ( ) : CharGrouping

Appends a pattern that matches a dollar character.

Dot ( ) : CharGrouping

Appends a pattern that matches a period.

EqualsSign ( ) : CharGrouping

Appends a pattern that matches an equals sign.

ExclamationMark ( ) : CharGrouping

Appends a pattern that matches an exclamation mark.

GraveAccent ( ) : CharGrouping

Appends a pattern that matches a grave accent.

Hyphen ( ) : CharGrouping

Appends a pattern that matches a hyphen.

LatinLetter ( ) : CharGrouping

Appends a pattern that matches a latin alphabet letter.

LeftAngleBracket ( ) : CharGrouping

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

LeftCurlyBracket ( ) : CharGrouping

Appends a pattern that matches left curly bracket.

LeftParenthesis ( ) : CharGrouping

Appends a pattern that matches left parenthesis.

LeftSquareBracket ( ) : CharGrouping

Appends a pattern that matches left square bracket.

Linefeed ( ) : CharGrouping

Appends a pattern that matches a linefeed.

NewLineChar ( ) : CharGrouping

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

Not ( GeneralCategory category ) : CharGrouping

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

Not ( NamedBlock block ) : CharGrouping

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

NotDigit ( ) : CharGrouping

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

NotWhiteSpace ( ) : CharGrouping

Appends a pattern that matches a character that is not from the white-space character class.

NotWordChar ( ) : CharGrouping

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

NumberSign ( ) : CharGrouping

Appends a pattern that matches a number sign.

Parenthesis ( ) : CharGrouping

Appends a pattern that matches left or right parenthesis.

Percent ( ) : CharGrouping

Appends a pattern that matches a percent sign.

Plus ( ) : CharGrouping

Appends a pattern that matches a plus sign.

QuestionMark ( ) : CharGrouping

Appends a pattern that matches a question mark.

QuoteMark ( ) : CharGrouping

Appends a pattern that matches a quotation mark.

Range ( char first, char last ) : CharGrouping

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

RightAngleBracket ( ) : CharGrouping

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

RightCurlyBracket ( ) : CharGrouping

Appends a pattern that matches right curly bracket.

RightParenthesis ( ) : CharGrouping

Appends a pattern that matches right parenthesis.

RightSquareBracket ( ) : CharGrouping

Appends a pattern that matches right square bracket.

Semicolon ( ) : CharGrouping

Appends a pattern that matches a semicolon.

Slash ( ) : CharGrouping

Appends a pattern that matches a slash.

SlashOrBackslash ( ) : CharGrouping

Appends a pattern that matches slash or backslash.

Space ( ) : CharGrouping

Appends a pattern that matches a space character.

SquareBracket ( ) : CharGrouping

Appends a pattern that matches left or right square bracket.

Tab ( ) : CharGrouping

Appends a pattern that matches a tab.

Tilde ( ) : CharGrouping

Appends a pattern that matches a tilde.

ToGroup ( ) : CharGroup

Converts the current instance of the CharGrouping to the positive character group.

ToNegativeGroup ( ) : CharGroup

Converts the current instance of the CharGrouping to the negative character group.

ToString ( ) : string

Returns the text representation of this instance.

Underscore ( ) : CharGrouping

Appends a pattern that matches an underscore.

VerticalBar ( ) : CharGrouping

Appends a pattern that matches a vertical bar.

WhiteSpace ( ) : CharGrouping

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

WordChar ( ) : CharGrouping

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

operator ( ) : CharGroup

Converts the current instance to the negative character group.

operator ( ) : CharGrouping

Concatenate two elements into a new CharGrouping.

operator ( ) : CharSubtraction

Returns a pattern that matches a character from a specified base group except characters from a specified excluded group.

Protected Methods

Method Description
AppendItemContentTo ( PatternBuilder builder ) : void

Appends a core content of the current instance to a specified PatternBuilder.

CharGrouping ( ) : System

Creates and returns a new instance of the CharGrouping class.

Private Methods

Method Description
Append ( CharGrouping value ) : CharGrouping
AppendContentTo ( PatternBuilder builder ) : void

Method Details

Alphanumeric() public method

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

AlphanumericUnderscore() public method

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

Ampersand() public method

Matches an ampersand.
public Ampersand ( ) : CharGrouping
return CharGrouping

Apostrophe() public method

Appends a pattern that matches an apostrophe.
public Apostrophe ( ) : CharGrouping
return CharGrouping

Append() public method

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

Append() public method

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

Append() public method

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

Append() public method

Appends a pattern that matches specified Unicode character.
public Append ( char value ) : CharGrouping
value char A Unicode character.
return CharGrouping

Append() public method

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

AppendBaseGroupTo() public method

Appends the text representation of the current instance of the character grouping to the specified PatternBuilder.
is null.
public AppendBaseGroupTo ( PatternBuilder builder ) : void
builder PatternBuilder The builder to use for appending the text.
return void

AppendExcludedGroupTo() public method

Appends the text representation of the character group containing the current instance to the specified PatternBuilder.
is null.
public AppendExcludedGroupTo ( PatternBuilder builder ) : void
builder PatternBuilder The builder to use for appending the text.
return void

AppendItemContentTo() protected abstract method

Appends a core content of the current instance to a specified PatternBuilder.
protected abstract AppendItemContentTo ( PatternBuilder builder ) : void
builder PatternBuilder The builder to use for appending the text.
return void

ArabicDigit() public method

Matches an arabic digit.
public ArabicDigit ( ) : CharGrouping
return CharGrouping

Asterisk() public method

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

AtSign() public method

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

Backslash() public method

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

CarriageReturn() public method

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

CharGrouping() protected method

Creates and returns a new instance of the CharGrouping class.
protected CharGrouping ( ) : System
return System

Character() public method

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

Character() public method

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

Character() public method

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

Character() public method

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

Character() public method

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

CircumflexAccent() public method

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

Colon() public method

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

Comma() public method

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

CurlyBracket() public method

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

Digit() public method

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

Dollar() public method

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

Dot() public method

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

EqualsSign() public method

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

ExclamationMark() public method

Appends a pattern that matches an exclamation mark.
public ExclamationMark ( ) : CharGrouping
return CharGrouping

GraveAccent() public method

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

Hyphen() public method

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

LatinLetter() public method

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

LeftAngleBracket() public method

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

LeftCurlyBracket() public method

Appends a pattern that matches left curly bracket.
public LeftCurlyBracket ( ) : CharGrouping
return CharGrouping

LeftParenthesis() public method

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

LeftSquareBracket() public method

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

Linefeed() public method

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

NewLineChar() public method

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

Not() public method

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

Not() public method

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

NotDigit() public method

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

NotWhiteSpace() public method

Appends a pattern that matches a character that is not from the white-space character class.
public NotWhiteSpace ( ) : CharGrouping
return CharGrouping

NotWordChar() public method

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

NumberSign() public method

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

Parenthesis() public method

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

Percent() public method

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

Plus() public method

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

QuestionMark() public method

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

QuoteMark() public method

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

Range() public method

Appends a pattern that matches any one character from the specified range.
public 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 method

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

RightCurlyBracket() public method

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

RightParenthesis() public method

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

RightSquareBracket() public method

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

Semicolon() public method

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

Slash() public method

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

SlashOrBackslash() public method

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

Space() public method

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

SquareBracket() public method

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

Tab() public method

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

Tilde() public method

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

ToGroup() public method

Converts the current instance of the CharGrouping to the positive character group.
public ToGroup ( ) : CharGroup
return CharGroup

ToNegativeGroup() public method

Converts the current instance of the CharGrouping to the negative character group.
public ToNegativeGroup ( ) : CharGroup
return CharGroup

ToString() public method

Returns the text representation of this instance.
public ToString ( ) : string
return string

Underscore() public method

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

VerticalBar() public method

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

WhiteSpace() public method

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

WordChar() public method

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

operator() public static method

Converts the current instance to the negative character group.
is null.
public static operator ( ) : CharGroup
return CharGroup

operator() public static method

Concatenate two elements into a new CharGrouping.
or is null.
public static operator ( ) : CharGrouping
return CharGrouping

operator() public static method

Returns a pattern that matches a character from a specified base group except characters from a specified excluded group.
or is null.
public static operator ( ) : CharSubtraction
return CharSubtraction