Method | Description | |
---|---|---|
Alternate ( RegexNode expressions ) : |
Generates an alternation expression with two or more options ("a|b|c|...").
|
|
Alternate ( RegexNode expression1, RegexNode expression2 ) : |
Generates an alternation expression with two options ("a|b").
|
|
Alternate ( RegexNode expression1, RegexNode expression2, |
Generates an alternation expression with two options ("a|b").
|
|
Alternate ( RegexNode expressions, |
Generates an alternation expression with two or more options ("a|b|c|...").
|
|
AsciiCharacter ( byte code ) : |
Generates an ASCII character pattern ("\xNN") with the specified character code.
|
|
AsciiCharacter ( byte code, |
Generates an ASCII character pattern ("\xNN") with the specified character code.
|
|
BacktrackingSuppression ( RegexNode innerExpression ) : |
Generates a subexpression with disabled backtracking ("(?>expression)").
|
|
BacktrackingSuppression ( RegexNode innerExpression, |
Generates a subexpression with disabled backtracking ("(?>expression)").
|
|
Build ( ) : |
Generates a Regex object from a list of RegexNodes.
|
|
Build ( RegexNode rootNode ) : |
Generates a Regex object from a single RegexNode.
|
|
Build ( RegexOptions regexOptions ) : |
Generates a Regex object from a list of RegexNode and applies a combination of RegexOptions to it.
|
|
Build ( RegexOptions regexOptions, RegexNode rootNode ) : |
Generates a Regex object from a single RegexNode and applies a combination of RegexOptions to it.
|
|
CharacterRange ( char rangeStart, char rangeEnd, bool useCharacterCodes, |
Generates a character range expression ("[a-z]") with the specified start/end characters.
|
|
CharacterSet ( char characters, bool useCharacterCodes, |
Generates a character set expression ("[abc]") from the specified character array.
|
|
CharacterSet ( string characters, |
Generates a character set expression ("[abc]") using a preformatted character string.
|
|
Comment ( string commentText ) : |
Generates an inline Regex comment ("(?#text)").
|
|
Concatenate ( RegexNode expressions ) : |
Concatenates an array of nodes.
|
|
Concatenate ( RegexNode node1, RegexNode node2 ) : |
Concatenates two nodes.
|
|
Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3 ) : |
Concatenates three nodes.
|
|
Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexNode node4 ) : |
Concatenates four nodes.
|
|
Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexNode node4, |
Concatenates four nodes.
|
|
Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, |
Concatenates three nodes.
|
|
Concatenate ( RegexNode node1, RegexNode node2, |
Concatenates two nodes.
|
|
Concatenate ( RegexNode expressions, |
Concatenates an array of nodes.
|
|
ConditionalMatch ( RegexNode conditionExpression, RegexNode trueMatchExpression, RegexNode falseMatchExpression ) : |
Generates a conditional match expression ("(?(condition)|(true)|(false))").
|
|
ConditionalMatch ( RegexNode conditionExpression, RegexNode trueMatchExpression, RegexNode falseMatchExpression, |
Generates a conditional match expression ("(?(condition)|(true)|(false))").
|
|
ConditionalMatch ( string conditionGroupName, RegexNode trueMatchExpression, RegexNode falseMatchExpression ) : |
Generates a conditional match expression which uses a named group for condition evaluation ("(?(GroupName)|(true)|(false))").
|
|
ConditionalMatch ( string conditionGroupName, RegexNode trueMatchExpression, RegexNode falseMatchExpression, |
Generates a conditional match expression which uses a named group for condition evaluation ("(?(GroupName)|(true)|(false))").
|
|
Group ( RegexNode matchExpression ) : |
Generates an unnamed capturing group with the specified subexpression.
|
|
Group ( RegexNode matchExpression, |
Generates an unnamed capturing group with the specified subexpression.
|
|
Group ( string groupName, RegexNode matchExpression ) : |
Generates a named capturing group with the specified subexpression.
|
|
Group ( string groupName, RegexNode matchExpression, |
Generates a named capturing group with the specified subexpression.
|
|
GroupBackReference ( int groupIndex, |
Generates a backreference to the group with the specified index ("\N").
|
|
GroupBackReference ( string groupName ) : |
Generates a backreference to a named group ("\k<GroupName>").
|
|
GroupBackReference ( string groupName, |
Generates a backreference to a named group ("\k<GroupName>").
|
|
Literal ( string value ) : |
Generates a simple string literal with automatic character escaping.
|
|
Literal ( string value, |
Generates a simple string literal with automatic character escaping.
|
|
MetaCharacter ( string characterPattern ) : |
Generates a Regex metacharacter, such as \d, \w or \s. Many metacharacter constants are available in RegexMetaChars class.
|
|
MetaCharacter ( string characterPattern, |
Generates a Regex metacharacter, such as \d, \w or \s. Many metacharacter constants are available in RegexMetaChars class.
|
|
NegativeCharacterRange ( char rangeStart, char rangeEnd, bool useCharacterCodes, |
Generates a negative character range expression ("[^a-z]") with the specified start/end characters.
|
|
NegativeCharacterSet ( char characters, bool useCharacterCodes, |
Generates a negative character set expression ("[^abc]") from the specified character array.
|
|
NegativeCharacterSet ( string characters, |
Generates a negative character set expression ("[^abc]") using a preformatted character string.
|
|
NegativeLookAhead ( RegexNode lookupExpression, RegexNode matchExpression ) : |
Generates a zero-width negative lookahead assertion ("match(?!lookahead)").
|
|
NegativeLookAhead ( RegexNode lookupExpression, RegexNode matchExpression, |
Generates a zero-width negative lookahead assertion ("match(?!lookahead)").
|
|
NegativeLookBehind ( RegexNode lookupExpression, RegexNode matchExpression ) : |
Generates a zero-width negative lookbehind assertion ("(?<!lookbehind)match").
|
|
NegativeLookBehind ( RegexNode lookupExpression, RegexNode matchExpression, |
Generates a zero-width negative lookbehind assertion ("(?<!lookbehind)match").
|
|
NonCapturingGroup ( RegexNode matchExpression ) : |
Generates a non-capturing group with the specified subexpression.
|
|
NonCapturingGroup ( RegexNode matchExpression, |
Generates a non-capturing group with the specified subexpression.
|
|
NonEscapedLiteral ( string value ) : |
Generates a simple string literal "as is", without character escaping. This method can be used to render explicit preformatted patterns of the Regex or some rare constructions not supported by RegexBuilder.
|
|
NonEscapedLiteral ( string value, |
Generates a simple string literal "as is", without character escaping. This method can be used to render explicit preformatted patterns of the Regex or some rare constructions not supported by RegexBuilder.
|
|
PositiveLookAhead ( RegexNode lookupExpression, RegexNode matchExpression ) : |
Generates a zero-width positive lookahead assertion ("match(?=lookahead)").
|
|
PositiveLookAhead ( RegexNode lookupExpression, RegexNode matchExpression, |
Generates a zero-width positive lookahead assertion ("match(?=lookahead)").
|
|
PositiveLookBehind ( RegexNode lookupExpression, RegexNode matchExpression ) : |
Generates a zero-width positive lookbehind assertion ("(?<=lookbehind)match").
|
|
PositiveLookBehind ( RegexNode lookupExpression, RegexNode matchExpression, |
Generates a zero-width positive lookbehind assertion ("(?<=lookbehind)match").
|
|
UnicodeCharacter ( int code ) : |
Generates a Unicode character pattern ("\uNNNN") with the specified character code.
|
|
UnicodeCharacter ( int code, |
Generates a Unicode character pattern ("\uNNNN") with the specified character code.
|
public static Alternate ( RegexNode expressions ) : |
||
expressions | RegexNode | Array of option expressions. |
return |
public static Alternate ( RegexNode expression1, RegexNode expression2 ) : |
||
expression1 | RegexNode | First option. |
expression2 | RegexNode | Second option. |
return |
public static Alternate ( RegexNode expression1, RegexNode expression2, |
||
expression1 | RegexNode | First option. |
expression2 | RegexNode | Second option. |
quantifier | Node quantifier. | |
return |
public static Alternate ( RegexNode expressions, |
||
expressions | RegexNode | Array of option expressions. |
quantifier | Node quantifier. | |
return |
public static AsciiCharacter ( byte code ) : |
||
code | byte | ASCII character code. |
return |
public static AsciiCharacter ( byte code, |
||
code | byte | ASCII character code. |
quantifier | Node quantifier. | |
return |
public static BacktrackingSuppression ( RegexNode innerExpression ) : |
||
innerExpression | RegexNode | Inner expression. |
return |
public static BacktrackingSuppression ( RegexNode innerExpression, |
||
innerExpression | RegexNode | Inner expression. |
quantifier | Node quantifier. | |
return |
public static Build ( ) : |
||
return |
public static Build ( RegexNode rootNode ) : |
||
rootNode | RegexNode | Root node. |
return |
public static Build ( RegexOptions regexOptions ) : |
||
regexOptions | RegexOptions | Combination of RegexOption flags to be applied to the Regex. |
return |
public static Build ( RegexOptions regexOptions, RegexNode rootNode ) : |
||
regexOptions | RegexOptions | Combination of RegexOption flags to be applied to the Regex. |
rootNode | RegexNode | Root node. |
return |
public static CharacterRange ( char rangeStart, char rangeEnd, bool useCharacterCodes, |
||
rangeStart | char | First character in the range. |
rangeEnd | char | Last character in the range. |
useCharacterCodes | bool | True - encode every character with "\uNNNN" pattern. False - use every character explicitly. |
quantifier | Node quantifier. | |
return |
public static CharacterSet ( char characters, bool useCharacterCodes, |
||
characters | char | An array of allowed characters. |
useCharacterCodes | bool | True - encode every character with "\uNNNN" pattern. False - use every character explicitly. |
quantifier | Node quantifier. | |
return |
public static CharacterSet ( string characters, |
||
characters | string | Character set description. Special characters will be automatically escaped. |
quantifier | Node quantifier. | |
return |
public static Comment ( string commentText ) : |
||
commentText | string | Comment text. |
return |
public static Concatenate ( RegexNode expressions ) : |
||
expressions | RegexNode | Nodes to concatenate. |
return |
public static Concatenate ( RegexNode node1, RegexNode node2 ) : |
||
node1 | RegexNode | First node. |
node2 | RegexNode | Second node. |
return |
public static Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3 ) : |
||
node1 | RegexNode | First node. |
node2 | RegexNode | Second node. |
node3 | RegexNode | Third node. |
return |
public static Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexNode node4 ) : |
||
node1 | RegexNode | First node. |
node2 | RegexNode | Second node. |
node3 | RegexNode | Third node. |
node4 | RegexNode | Fourth node. |
return |
public static Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexNode node4, |
||
node1 | RegexNode | First node. |
node2 | RegexNode | Second node. |
node3 | RegexNode | Third node. |
node4 | RegexNode | Fourth node. |
quantifier | Node quantifier. | |
return |
public static Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, |
||
node1 | RegexNode | First node. |
node2 | RegexNode | Second node. |
node3 | RegexNode | Third node. |
quantifier | Node quantifier. | |
return |
public static Concatenate ( RegexNode node1, RegexNode node2, |
||
node1 | RegexNode | First node. |
node2 | RegexNode | Second node. |
quantifier | Node quantifier. | |
return |
public static Concatenate ( RegexNode expressions, |
||
expressions | RegexNode | Nodes to concatenate. |
quantifier | Node quantifier. | |
return |
public static ConditionalMatch ( RegexNode conditionExpression, RegexNode trueMatchExpression, RegexNode falseMatchExpression ) : |
||
conditionExpression | RegexNode | Condition expression. |
trueMatchExpression | RegexNode | True match expression. |
falseMatchExpression | RegexNode | False match expression. |
return |
public static ConditionalMatch ( RegexNode conditionExpression, RegexNode trueMatchExpression, RegexNode falseMatchExpression, |
||
conditionExpression | RegexNode | Condition expression. |
trueMatchExpression | RegexNode | True match expression. |
falseMatchExpression | RegexNode | False match expression. |
quantifier | Node quantifier. | |
return |
public static ConditionalMatch ( string conditionGroupName, RegexNode trueMatchExpression, RegexNode falseMatchExpression ) : |
||
conditionGroupName | string | The name of the group to be used as a condition. |
trueMatchExpression | RegexNode | True match expression. |
falseMatchExpression | RegexNode | False match expression. |
return |
public static ConditionalMatch ( string conditionGroupName, RegexNode trueMatchExpression, RegexNode falseMatchExpression, |
||
conditionGroupName | string | The name of the group to be used as a condition. |
trueMatchExpression | RegexNode | True match expression. |
falseMatchExpression | RegexNode | False match expression. |
quantifier | Node quantifier. | |
return |
public static Group ( RegexNode matchExpression ) : |
||
matchExpression | RegexNode | Inner expression. |
return |
public static Group ( RegexNode matchExpression, |
||
matchExpression | RegexNode | Inner expression. |
quantifier | Node quantifier. | |
return |
public static Group ( string groupName, RegexNode matchExpression ) : |
||
groupName | string | Group name. |
matchExpression | RegexNode | Inner expression. |
return |
public static Group ( string groupName, RegexNode matchExpression, |
||
groupName | string | Group name. |
matchExpression | RegexNode | Inner expression. |
quantifier | Node quantifier. | |
return |
public static GroupBackReference ( int groupIndex, |
||
groupIndex | int | Group ordinal number. |
quantifier | Node quantifier. | |
return |
public static GroupBackReference ( string groupName ) : |
||
groupName | string | Group name. |
return |
public static GroupBackReference ( string groupName, |
||
groupName | string | Group name. |
quantifier | Node quantifier. | |
return |
public static Literal ( string value ) : |
||
value | string | Node text. Special characters will be automatically escaped. |
return |
public static Literal ( string value, |
||
value | string | Node text. Special characters will be automatically escaped. |
quantifier | Node quantifier. | |
return |
public static MetaCharacter ( string characterPattern ) : |
||
characterPattern | string | Metacharacter pattern. |
return |
public static MetaCharacter ( string characterPattern, |
||
characterPattern | string | Metacharacter pattern. |
quantifier | Node quantifier. | |
return |
public static NegativeCharacterRange ( char rangeStart, char rangeEnd, bool useCharacterCodes, |
||
rangeStart | char | First character in the range. |
rangeEnd | char | Last character in the range. |
useCharacterCodes | bool | True - encode every character with "\uNNNN" pattern. False - use every character explicitly. |
quantifier | Node quantifier. | |
return |
public static NegativeCharacterSet ( char characters, bool useCharacterCodes, |
||
characters | char | An array of allowed characters. |
useCharacterCodes | bool | True - encode every character with "\uNNNN" pattern. False - use every character explicitly. |
quantifier | Node quantifier. | |
return |
public static NegativeCharacterSet ( string characters, |
||
characters | string | Character set description. Special characters will be automatically escaped. |
quantifier | Node quantifier. | |
return |
public static NegativeLookAhead ( RegexNode lookupExpression, RegexNode matchExpression ) : |
||
lookupExpression | RegexNode | Lookahead expression. |
matchExpression | RegexNode | Match expression. |
return |
public static NegativeLookAhead ( RegexNode lookupExpression, RegexNode matchExpression, |
||
lookupExpression | RegexNode | Lookahead expression. |
matchExpression | RegexNode | Match expression. |
quantifier | Node quantifier. | |
return |
public static NegativeLookBehind ( RegexNode lookupExpression, RegexNode matchExpression ) : |
||
lookupExpression | RegexNode | Lookbehind expression. |
matchExpression | RegexNode | Match expression. |
return |
public static NegativeLookBehind ( RegexNode lookupExpression, RegexNode matchExpression, |
||
lookupExpression | RegexNode | Lookbehind expression. |
matchExpression | RegexNode | Match expression. |
quantifier | Node quantifier. | |
return |
public static NonCapturingGroup ( RegexNode matchExpression ) : |
||
matchExpression | RegexNode | Inner expression. |
return |
public static NonCapturingGroup ( RegexNode matchExpression, |
||
matchExpression | RegexNode | Inner expression. |
quantifier | Node quantifier. | |
return |
public static NonEscapedLiteral ( string value ) : |
||
value | string | Node text. |
return |
public static NonEscapedLiteral ( string value, |
||
value | string | Node text. |
quantifier | Node quantifier. | |
return |
public static PositiveLookAhead ( RegexNode lookupExpression, RegexNode matchExpression ) : |
||
lookupExpression | RegexNode | Lookahead expression. |
matchExpression | RegexNode | Match expression. |
return |
public static PositiveLookAhead ( RegexNode lookupExpression, RegexNode matchExpression, |
||
lookupExpression | RegexNode | Lookahead expression. |
matchExpression | RegexNode | Match expression. |
quantifier | Node quantifier. | |
return |
public static PositiveLookBehind ( RegexNode lookupExpression, RegexNode matchExpression ) : |
||
lookupExpression | RegexNode | Lookbehind expression. |
matchExpression | RegexNode | Match expression. |
return |
public static PositiveLookBehind ( RegexNode lookupExpression, RegexNode matchExpression, |
||
lookupExpression | RegexNode | Lookbehind expression. |
matchExpression | RegexNode | Match expression. |
quantifier | Node quantifier. | |
return |
public static UnicodeCharacter ( int code ) : |
||
code | int | Unicode character code. |
return |
public static UnicodeCharacter ( int code, |
||
code | int | Unicode character code. |
quantifier | Node quantifier. | |
return |