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

Represents a class that enables to create a text representation of the Pattern. This class cannot be inherited.
Show file Open project: JosefPihrt/LinqToRegex Class Usage Examples

Private Properties

Property Type Description
Append void
Append void
Append void
Append void
Append void
Append void
Append void
Append void
AppendAsciiHexadecimal void
AppendBackslash void
AppendBalancingGroup void
AppendCharClass void
AppendCharGroup void
AppendCharGroup void
AppendCharGroup void
AppendCharGroup void
AppendCharGroup void
AppendCharGroup void
AppendCharGroup void
AppendCharGroup void
AppendCharGroupEnd void
AppendCharGroupStart void
AppendCharGroupStart void
AppendCharGroupStart void
AppendCharRange void
AppendCountFromInternal void
AppendCountInternal void
AppendCountInternal void
AppendDirect void
AppendDirect void
AppendDirect void
AppendDirect void
AppendGeneralCategory void
AppendGroupContent void
AppendGroupContent void
AppendGroupEnd void
AppendGroupEnd void
AppendGroupReferenceInternal void
AppendGroupReferenceInternal void
AppendGroupStart void
AppendGroupStart void
AppendIfGroupInternal void
AppendInternal void
AppendInternal void
AppendLazy void
AppendLine void
AppendLineAndIndent void
AppendNamedBlock void
AppendNamedGroupInternal void
AppendNoncapturingGroupStart void
AppendNumberedGroupStart void
AppendOptions void
AppendOptionsChars void
AppendOptionsChars void
AppendOr void
AppendUnicodeHexadecimal void
GetLiteral string
GetPattern string
IsCurrentOptions bool
PatternBuilder System
PatternBuilder System
PatternBuilder System

Public Methods

Method Description
Append ( AsciiChar value ) : void

Appends specified character to this instance.

Append ( CharGrouping value ) : void

Appends the text representation of the pattern to this instance.

Append ( System.Text.RegularExpressions.Pattern pattern ) : void

Appends the text representation of the pattern to this instance.

Append ( char characters ) : void

Appends specified characters to this instance.

Append ( int value ) : void

Appends specified character to this instance.

Append ( object value ) : void

Appends the pattern representation of an object. The object must be convertible to Pattern, CharGrouping, string, char, object array or IEnumerable.

Append ( string value ) : void

Appends specified text to this instance.

AppendAnyChar ( ) : void

Appends a pattern that matches any character.

AppendAnyCharNative ( ) : void

Appends a pattern that matches any character except linefeed (or any character if the RegexOptions.Singleline option is applied).

AppendAssertion ( object content ) : void

Appends a positive lookahead assertion with a specified content.

AppendBackAssertion ( object content ) : void

Appends a positive lookbehind assertion with a specified content.

AppendBeginningOfInput ( ) : void

Appends a pattern that matches the beginning of the string.

AppendBeginningOfInputOrLine ( ) : void

Appends a pattern that matches the beginning of the string (or line if the RegexOptions.Multiline option is applied).

AppendCharGroup ( AsciiChar value ) : void

Appends a pattern that matches a specified character.

AppendCharGroup ( CharGrouping value ) : void

Appends a character group containing specified CharGrouping.

AppendCharGroup ( GeneralCategory category ) : void

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

AppendCharGroup ( NamedBlock block ) : void

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

AppendCharGroup ( char first, char last ) : void

Appends a pattern that matches a character in the specified range.

AppendCharGroup ( string characters ) : void

Appends a character group containing specified characters.

AppendCount ( int exactCount ) : void

Appends a quantifier that matches previous element specific number of times.

AppendCount ( int exactCount, bool lazy ) : void

Appends a quantifier that matches previous element specific number of times.

AppendCount ( int minCount, int maxCount ) : void

Appends a quantifier that matches previous element from minimal to maximum times.

AppendCount ( int minCount, int maxCount, bool lazy ) : void

Appends a quantifier that matches previous element from minimal to maximum times.

AppendCountFrom ( int minCount ) : void

Appends a quantifier that matches previous element at least specified number of times.

AppendCountFrom ( int minCount, bool lazy ) : void

Appends a quantifier that matches previous element at least specified number of times.

AppendDigit ( ) : void

Appends a pattern that matches a digit character.

AppendEndOfInput ( ) : void

Appends a pattern that matches the end of the string.

AppendEndOfInputOrBeforeEndingLinefeed ( ) : void

Appends a pattern that is matched at the end of the string or before linefeed at the end of the string.

AppendEndOfInputOrLine ( ) : void

Appends a pattern that is matched at the end of the string (or line if the RegexOptions.Multiline option is applied). End of line is defined as the position before a linefeed.

AppendGeneralCategory ( GeneralCategory category ) : void

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

AppendIfAssert ( object testContent, object trueContent, object falseContent ) : void

Appends an if construct.

AppendIfGroup ( int groupNumber, object trueContent, object falseContent ) : void

Appends an if construct.

AppendIfGroup ( string groupName, object trueContent, object falseContent ) : void

Appends an if construct.

AppendMaybe ( ) : void

Appends a quantifier that matches previous element zero or one time.

AppendMaybe ( bool lazy ) : void

Appends a quantifier that matches previous element zero or one time.

AppendMaybeCount ( int maxCount ) : void

Appends a quantifier that matches previous element at most specified number of times.

AppendMaybeCount ( int maxCount, bool lazy ) : void

Appends a quantifier that matches previous element at most specified number of times.

AppendMaybeMany ( ) : void

Appends a quantifier that matches previous element zero or more times.

AppendMaybeMany ( bool lazy ) : void

Appends a quantifier that matches previous element zero or more times.

AppendNamedBlock ( NamedBlock block ) : void

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

AppendNamedGroup ( string name, object content ) : void

Appends a named group with a specified name and content.

AppendNegativeAssertion ( object content ) : void

Appends a negative lookahead assertion with a specified content.

AppendNegativeBackAssertion ( object content ) : void

Appends a negative lookbehind assertion with a specified content.

AppendNegativeCharGroup ( AsciiChar value ) : void

Appends a pattern that matches a character that is not a specified character.

AppendNegativeCharGroup ( CharGrouping value ) : void

Appends a negative character group containing specified CharGrouping.

AppendNegativeCharGroup ( GeneralCategory category ) : void

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

AppendNegativeCharGroup ( NamedBlock block ) : void

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

AppendNegativeCharGroup ( char first, char last ) : void

Appends a pattern that matches a character that is not in the specified range.

AppendNegativeCharGroup ( string characters ) : void

Appends a negative character group containing specified characters.

AppendNegativeWordBoundary ( ) : void

Appends a pattern that is not matched on a boundary between a word character and a non-word character.

AppendNonbacktrackingGroup ( object content ) : void

Appends a nonbacktracking group with a specified content.

AppendNoncapturingGroup ( object content ) : void

Appends a noncapturing group with a specified content.

AppendNotDigit ( ) : void

Appends a pattern that matches a character that is not a digit character.

AppendNotGeneralCategory ( GeneralCategory category ) : void

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

AppendNotNamedBlock ( NamedBlock block ) : void

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

AppendNotWhiteSpace ( ) : void

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

AppendNotWordChar ( ) : void

Appends a pattern that matches a character that is not a word character.

AppendNumberedGroup ( object content ) : void

Appends a numbered group with a specified content.

AppendOneMany ( ) : void

Appends a quantifier that matches previous element one or more times.

AppendOneMany ( bool lazy ) : void

Appends a quantifier that matches previous element one or more times.

AppendOptions ( RegexOptions applyOptions ) : void

Appends a pattern that applies specified options.

AppendOptions ( RegexOptions applyOptions, RegexOptions disableOptions ) : void

Appends a pattern that applies and disables specified options to a specified pattern.

AppendOptions ( RegexOptions applyOptions, object content ) : void

Appends a pattern that applies specified options to a specified pattern.

AppendPreviousMatchEnd ( ) : void

Appends a pattern that is matched at the position where the previous match ended.

AppendSubtraction ( IBaseGroup baseGroup, IExcludedGroup excludedGroup ) : void

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

AppendWhiteSpace ( ) : void

Appends a pattern that matches a white-space character.

AppendWordBoundary ( ) : void

Appends a pattern that is matched on a boundary between a word character and a non-word character. The pattern may be also matched on a word boundary at the beginning or end of the string.

AppendWordChar ( ) : void

Appends a pattern that matches a word character.

ToString ( ) : string

Converts the value of this instance to a string.

Private Methods

Method Description
Append ( ) : void
Append ( AsciiChar value, bool inCharGroup ) : void
Append ( IEnumerable items, GroupMode mode ) : void
Append ( char ch, CharEscapeMode mode ) : void
Append ( char characters, bool inCharGroup ) : void
Append ( int value, bool inCharGroup ) : void
Append ( object value, GroupMode mode ) : void
Append ( string value, bool inCharGroup ) : void
AppendAsciiHexadecimal ( int charCode ) : void
AppendBackslash ( char value ) : void
AppendBalancingGroup ( string name1, string name2, object content ) : void
AppendCharClass ( CharClass value ) : void

Appends a pattern that matches a character from a specified character class.

AppendCharGroup ( AsciiChar value, bool negative ) : void
AppendCharGroup ( CharClass value ) : void

Appends a pattern that matches a character from a specified character class.

AppendCharGroup ( CharGrouping value, bool negative ) : void
AppendCharGroup ( GeneralCategory category, bool negative ) : void
AppendCharGroup ( NamedBlock block, bool negative ) : void
AppendCharGroup ( char characters, bool negative ) : void
AppendCharGroup ( char first, char last, bool negative ) : void
AppendCharGroup ( string characters, bool negative ) : void
AppendCharGroupEnd ( ) : void
AppendCharGroupStart ( ) : void
AppendCharGroupStart ( bool negative ) : void
AppendCharGroupStart ( bool negative, int charNumber ) : void
AppendCharRange ( char firstChar, char lastChar ) : void
AppendCountFromInternal ( int minCount ) : void
AppendCountInternal ( int exactCount ) : void
AppendCountInternal ( int minCount, int maxCount ) : void
AppendDirect ( char value ) : void
AppendDirect ( int number ) : void
AppendDirect ( string value ) : void
AppendDirect ( string value, int startIndex, int count ) : void
AppendGeneralCategory ( GeneralCategory category, bool negative ) : void
AppendGroupContent ( object content ) : void
AppendGroupContent ( object content, RegexOptions applyOptions, RegexOptions disableOptions ) : void
AppendGroupEnd ( ) : void
AppendGroupEnd ( bool unindent ) : void
AppendGroupReferenceInternal ( int groupNumber ) : void
AppendGroupReferenceInternal ( string groupName ) : void
AppendGroupStart ( ) : void
AppendGroupStart ( bool indent ) : void
AppendIfGroupInternal ( string groupName, object trueContent, object falseContent, bool checkGroupName ) : void
AppendInternal ( char value ) : void
AppendInternal ( int value, bool inCharGroup ) : void
AppendLazy ( ) : void
AppendLine ( ) : void
AppendLineAndIndent ( ) : void
AppendNamedBlock ( NamedBlock block, bool negative ) : void
AppendNamedGroupInternal ( string groupName, object content ) : void
AppendNoncapturingGroupStart ( ) : void
AppendNumberedGroupStart ( ) : void
AppendOptions ( RegexOptions applyOptions, RegexOptions disableOptions, object content ) : void

Appends a pattern that applies and disables specified options to a specified pattern.

AppendOptionsChars ( RegexOptions options ) : void
AppendOptionsChars ( RegexOptions applyOptions, RegexOptions disableOptions ) : void
AppendOr ( object value ) : void
AppendUnicodeHexadecimal ( int charCode ) : void
GetLiteral ( ) : string
GetPattern ( ) : string
IsCurrentOptions ( RegexOptions options ) : bool
PatternBuilder ( ) : System
PatternBuilder ( PatternSettings settings ) : System
PatternBuilder ( PatternSettings settings, RegexOptions options ) : System

Method Details

Append() public method

Appends specified character to this instance.
public Append ( AsciiChar value ) : void
value AsciiChar An enumerated constant that identifies an ASCII character to append.
return void

Append() public method

Appends the text representation of the pattern to this instance.
is null.
public Append ( CharGrouping value ) : void
value CharGrouping The pattern to append.
return void

Append() public method

Appends the text representation of the pattern to this instance.
is null.
public Append ( System.Text.RegularExpressions.Pattern pattern ) : void
pattern System.Text.RegularExpressions.Pattern The pattern to append.
return void

Append() public method

Appends specified characters to this instance.
is null.
public Append ( char characters ) : void
characters char Unicode characters.
return void

Append() public method

Appends specified character to this instance.
public Append ( int value ) : void
value int A code of the character to append.
return void

Append() public method

Appends the pattern representation of an object. The object must be convertible to Pattern, CharGrouping, string, char, object array or IEnumerable.
public Append ( object value ) : void
value object The object to append.
return void

Append() public method

Appends specified text to this instance.
public Append ( string value ) : void
value string The text to append.
return void

AppendAnyChar() public method

Appends a pattern that matches any character.
public AppendAnyChar ( ) : void
return void

AppendAnyCharNative() public method

Appends a pattern that matches any character except linefeed (or any character if the RegexOptions.Singleline option is applied).
public AppendAnyCharNative ( ) : void
return void

AppendAssertion() public method

Appends a positive lookahead assertion with a specified content.
public AppendAssertion ( object content ) : void
content object An assertion content.
return void

AppendBackAssertion() public method

Appends a positive lookbehind assertion with a specified content.
public AppendBackAssertion ( object content ) : void
content object An assertion content.
return void

AppendBeginningOfInput() public method

Appends a pattern that matches the beginning of the string.
public AppendBeginningOfInput ( ) : void
return void

AppendBeginningOfInputOrLine() public method

Appends a pattern that matches the beginning of the string (or line if the RegexOptions.Multiline option is applied).
public AppendBeginningOfInputOrLine ( ) : void
return void

AppendCharGroup() public method

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

AppendCharGroup() public method

Appends a character group containing specified CharGrouping.
is null.
public AppendCharGroup ( CharGrouping value ) : void
value CharGrouping A content of a character group.
return void

AppendCharGroup() public method

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

AppendCharGroup() public method

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

AppendCharGroup() public method

Appends a pattern that matches a character in the specified range.
character number is less than character number.
public AppendCharGroup ( char first, char last ) : void
first char The first character of the range.
last char The last character of the range.
return void

AppendCharGroup() public method

Appends a character group containing specified characters.
is null. length is equal to zero.
public AppendCharGroup ( string characters ) : void
characters string A set of characters any one of which has to be matched.
return void

AppendCount() public method

Appends a quantifier that matches previous element specific number of times.
is less than zero.
public AppendCount ( int exactCount ) : void
exactCount int A number of times the pattern must be matched.
return void

AppendCount() public method

Appends a quantifier that matches previous element specific number of times.
is less than zero.
public AppendCount ( int exactCount, bool lazy ) : void
exactCount int A number of times the pattern must be matched.
lazy bool Indicates whether the quantifier will be greedy or lazy.
return void

AppendCount() public method

Appends a quantifier that matches previous element from minimal to maximum times.
is less than zero or is less than .
public AppendCount ( int minCount, int maxCount ) : void
minCount int A minimal number of times the pattern must be matched.
maxCount int A maximum number of times the pattern can be matched.
return void

AppendCount() public method

Appends a quantifier that matches previous element from minimal to maximum times.
is less than zero or is less than .
public AppendCount ( int minCount, int maxCount, bool lazy ) : void
minCount int A minimal number of times the pattern must be matched.
maxCount int A maximum number of times the pattern can be matched.
lazy bool Indicates whether the quantifier will be greedy or lazy.
return void

AppendCountFrom() public method

Appends a quantifier that matches previous element at least specified number of times.
is less than zero.
public AppendCountFrom ( int minCount ) : void
minCount int A minimal number of times the pattern must be matched.
return void

AppendCountFrom() public method

Appends a quantifier that matches previous element at least specified number of times.
is less than zero.
public AppendCountFrom ( int minCount, bool lazy ) : void
minCount int A minimal number of times the pattern must be matched.
lazy bool Indicates whether the quantifier will be greedy or lazy.
return void

AppendDigit() public method

Appends a pattern that matches a digit character.
public AppendDigit ( ) : void
return void

AppendEndOfInput() public method

Appends a pattern that matches the end of the string.
public AppendEndOfInput ( ) : void
return void

AppendEndOfInputOrBeforeEndingLinefeed() public method

Appends a pattern that is matched at the end of the string or before linefeed at the end of the string.
public AppendEndOfInputOrBeforeEndingLinefeed ( ) : void
return void

AppendEndOfInputOrLine() public method

Appends a pattern that is matched at the end of the string (or line if the RegexOptions.Multiline option is applied). End of line is defined as the position before a linefeed.
public AppendEndOfInputOrLine ( ) : void
return void

AppendGeneralCategory() public method

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

AppendIfAssert() public method

Appends an if construct.
public AppendIfAssert ( object testContent, object trueContent, object falseContent ) : void
testContent object The pattern to assert.
trueContent object The pattern to match if the assertion succeeds.
falseContent object The pattern to match if the assertion fails.
return void

AppendIfGroup() public method

Appends an if construct.
is null. is less than zero.
public AppendIfGroup ( int groupNumber, object trueContent, object falseContent ) : void
groupNumber int A number of the group.
trueContent object The pattern to match if the named group is matched.
falseContent object The pattern to match if the named group is not matched.
return void

AppendIfGroup() public method

Appends an if construct.
or is null. is not a valid regex group name.
public AppendIfGroup ( string groupName, object trueContent, object falseContent ) : void
groupName string A name of the group.
trueContent object The pattern to match if the named group is matched.
falseContent object The pattern to match if the named group is not matched.
return void

AppendMaybe() public method

Appends a quantifier that matches previous element zero or one time.
public AppendMaybe ( ) : void
return void

AppendMaybe() public method

Appends a quantifier that matches previous element zero or one time.
public AppendMaybe ( bool lazy ) : void
lazy bool Indicates whether the quantifier will be greedy or lazy.
return void

AppendMaybeCount() public method

Appends a quantifier that matches previous element at most specified number of times.
is less than zero.
public AppendMaybeCount ( int maxCount ) : void
maxCount int A maximum number of times the pattern can be matched.
return void

AppendMaybeCount() public method

Appends a quantifier that matches previous element at most specified number of times.
is less than zero.
public AppendMaybeCount ( int maxCount, bool lazy ) : void
maxCount int A maximum number of times the pattern can be matched.
lazy bool Indicates whether the quantifier will be greedy or lazy.
return void

AppendMaybeMany() public method

Appends a quantifier that matches previous element zero or more times.
public AppendMaybeMany ( ) : void
return void

AppendMaybeMany() public method

Appends a quantifier that matches previous element zero or more times.
public AppendMaybeMany ( bool lazy ) : void
lazy bool Indicates whether the quantifier will be greedy or lazy.
return void

AppendNamedBlock() public method

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

AppendNamedGroup() public method

Appends a named group with a specified name and content.
or is null. is not a valid regex group name.
public AppendNamedGroup ( string name, object content ) : void
name string A name of the group.
content object The content to be matched.
return void

AppendNegativeAssertion() public method

Appends a negative lookahead assertion with a specified content.
public AppendNegativeAssertion ( object content ) : void
content object An assertion content.
return void

AppendNegativeBackAssertion() public method

Appends a negative lookbehind assertion with a specified content.
public AppendNegativeBackAssertion ( object content ) : void
content object An assertion content.
return void

AppendNegativeCharGroup() public method

Appends a pattern that matches a character that is not a specified character.
public AppendNegativeCharGroup ( AsciiChar value ) : void
value AsciiChar An enumerated constant that identifies ASCII character.
return void

AppendNegativeCharGroup() public method

Appends a negative character group containing specified CharGrouping.
is null.
public AppendNegativeCharGroup ( CharGrouping value ) : void
value CharGrouping A content of a character group.
return void

AppendNegativeCharGroup() public method

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

AppendNegativeCharGroup() public method

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

AppendNegativeCharGroup() public method

Appends a pattern that matches a character that is not in the specified range.
character number is less than character number.
public AppendNegativeCharGroup ( char first, char last ) : void
first char The first character of the range.
last char The last character of the range.
return void

AppendNegativeCharGroup() public method

Appends a negative character group containing specified characters.
is null. length is equal to zero.
public AppendNegativeCharGroup ( string characters ) : void
characters string Unicode characters.
return void

AppendNegativeWordBoundary() public method

Appends a pattern that is not matched on a boundary between a word character and a non-word character.
public AppendNegativeWordBoundary ( ) : void
return void

AppendNonbacktrackingGroup() public method

Appends a nonbacktracking group with a specified content.
is null.
public AppendNonbacktrackingGroup ( object content ) : void
content object The content to be matched.
return void

AppendNoncapturingGroup() public method

Appends a noncapturing group with a specified content.
is null.
public AppendNoncapturingGroup ( object content ) : void
content object The content to be matched.
return void

AppendNotDigit() public method

Appends a pattern that matches a character that is not a digit character.
public AppendNotDigit ( ) : void
return void

AppendNotGeneralCategory() public method

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

AppendNotNamedBlock() public method

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

AppendNotWhiteSpace() public method

Appends a pattern that matches a character that is not a white-space character.
public AppendNotWhiteSpace ( ) : void
return void

AppendNotWordChar() public method

Appends a pattern that matches a character that is not a word character.
public AppendNotWordChar ( ) : void
return void

AppendNumberedGroup() public method

Appends a numbered group with a specified content.
is null.
public AppendNumberedGroup ( object content ) : void
content object The content to be matched.
return void

AppendOneMany() public method

Appends a quantifier that matches previous element one or more times.
public AppendOneMany ( ) : void
return void

AppendOneMany() public method

Appends a quantifier that matches previous element one or more times.
public AppendOneMany ( bool lazy ) : void
lazy bool Indicates whether the quantifier will be greedy or lazy.
return void

AppendOptions() public method

Appends a pattern that applies specified options.
value is not convertible to inline chars.
public AppendOptions ( RegexOptions applyOptions ) : void
applyOptions RegexOptions A bitwise combination of the enumeration values that are applied.
return void

AppendOptions() public method

Appends a pattern that applies and disables specified options to a specified pattern.
or value is not convertible to inline chars.
public AppendOptions ( RegexOptions applyOptions, RegexOptions disableOptions ) : void
applyOptions RegexOptions A bitwise combination of the enumeration values that are applied.
disableOptions RegexOptions A bitwise combination of the enumeration values that are disabled.
return void

AppendOptions() public method

Appends a pattern that applies specified options to a specified pattern.
is null. value is not convertible to inline chars.
public AppendOptions ( RegexOptions applyOptions, object content ) : void
applyOptions RegexOptions A bitwise combination of the enumeration values that are applied.
content object The pattern to match.
return void

AppendPreviousMatchEnd() public method

Appends a pattern that is matched at the position where the previous match ended.
public AppendPreviousMatchEnd ( ) : void
return void

AppendSubtraction() public method

Appends a pattern that matches a character from a specified base group except characters from a specified excluded group.
or is null.
public AppendSubtraction ( IBaseGroup baseGroup, IExcludedGroup excludedGroup ) : void
baseGroup IBaseGroup A base group.
excludedGroup IExcludedGroup An excluded group.
return void

AppendWhiteSpace() public method

Appends a pattern that matches a white-space character.
public AppendWhiteSpace ( ) : void
return void

AppendWordBoundary() public method

Appends a pattern that is matched on a boundary between a word character and a non-word character. The pattern may be also matched on a word boundary at the beginning or end of the string.
public AppendWordBoundary ( ) : void
return void

AppendWordChar() public method

Appends a pattern that matches a word character.
public AppendWordChar ( ) : void
return void

ToString() public method

Converts the value of this instance to a string.
public ToString ( ) : string
return string