C# Класс YuriyGuts.RegexBuilder.RegexBuilder

Показать файл Открыть проект

Открытые методы

Метод Описание
Alternate ( RegexNode expressions ) : RegexNodeAlternation

Generates an alternation expression with two or more options ("a|b|c|...").

Alternate ( RegexNode expression1, RegexNode expression2 ) : RegexNodeAlternation

Generates an alternation expression with two options ("a|b").

Alternate ( RegexNode expression1, RegexNode expression2, RegexQuantifier quantifier ) : RegexNodeAlternation

Generates an alternation expression with two options ("a|b").

Alternate ( RegexNode expressions, RegexQuantifier quantifier ) : RegexNodeAlternation

Generates an alternation expression with two or more options ("a|b|c|...").

AsciiCharacter ( byte code ) : RegexNodeLiteral

Generates an ASCII character pattern ("\xNN") with the specified character code.

AsciiCharacter ( byte code, RegexQuantifier quantifier ) : RegexNodeLiteral

Generates an ASCII character pattern ("\xNN") with the specified character code.

BacktrackingSuppression ( RegexNode innerExpression ) : RegexNodeBacktrackingSuppression

Generates a subexpression with disabled backtracking ("(?>expression)").

BacktrackingSuppression ( RegexNode innerExpression, RegexQuantifier quantifier ) : RegexNodeBacktrackingSuppression

Generates a subexpression with disabled backtracking ("(?>expression)").

Build ( ) : Regex

Generates a Regex object from a list of RegexNodes.

Build ( RegexNode rootNode ) : Regex

Generates a Regex object from a single RegexNode.

Build ( RegexOptions regexOptions ) : Regex

Generates a Regex object from a list of RegexNode and applies a combination of RegexOptions to it.

Build ( RegexOptions regexOptions, RegexNode rootNode ) : Regex

Generates a Regex object from a single RegexNode and applies a combination of RegexOptions to it.

CharacterRange ( char rangeStart, char rangeEnd, bool useCharacterCodes, RegexQuantifier quantifier ) : RegexNodeCharacterRange

Generates a character range expression ("[a-z]") with the specified start/end characters.

CharacterSet ( char characters, bool useCharacterCodes, RegexQuantifier quantifier ) : RegexNodeCharacterSet

Generates a character set expression ("[abc]") from the specified character array.

CharacterSet ( string characters, RegexQuantifier quantifier ) : RegexNodeCharacterSet

Generates a character set expression ("[abc]") using a preformatted character string.

Comment ( string commentText ) : RegexNodeComment

Generates an inline Regex comment ("(?#text)").

Concatenate ( RegexNode expressions ) : RegexNodeConcatenation

Concatenates an array of nodes.

Concatenate ( RegexNode node1, RegexNode node2 ) : RegexNodeConcatenation

Concatenates two nodes.

Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3 ) : RegexNodeConcatenation

Concatenates three nodes.

Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexNode node4 ) : RegexNodeConcatenation

Concatenates four nodes.

Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexNode node4, RegexQuantifier quantifier ) : RegexNodeConcatenation

Concatenates four nodes.

Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexQuantifier quantifier ) : RegexNodeConcatenation

Concatenates three nodes.

Concatenate ( RegexNode node1, RegexNode node2, RegexQuantifier quantifier ) : RegexNodeConcatenation

Concatenates two nodes.

Concatenate ( RegexNode expressions, RegexQuantifier quantifier ) : RegexNodeConcatenation

Concatenates an array of nodes.

ConditionalMatch ( RegexNode conditionExpression, RegexNode trueMatchExpression, RegexNode falseMatchExpression ) : RegexNodeConditionalMatch

Generates a conditional match expression ("(?(condition)|(true)|(false))").

ConditionalMatch ( RegexNode conditionExpression, RegexNode trueMatchExpression, RegexNode falseMatchExpression, RegexQuantifier quantifier ) : RegexNodeConditionalMatch

Generates a conditional match expression ("(?(condition)|(true)|(false))").

ConditionalMatch ( string conditionGroupName, RegexNode trueMatchExpression, RegexNode falseMatchExpression ) : RegexNodeConditionalMatch

Generates a conditional match expression which uses a named group for condition evaluation ("(?(GroupName)|(true)|(false))").

ConditionalMatch ( string conditionGroupName, RegexNode trueMatchExpression, RegexNode falseMatchExpression, RegexQuantifier quantifier ) : RegexNodeConditionalMatch

Generates a conditional match expression which uses a named group for condition evaluation ("(?(GroupName)|(true)|(false))").

Group ( RegexNode matchExpression ) : RegexNodeGroup

Generates an unnamed capturing group with the specified subexpression.

Group ( RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeGroup

Generates an unnamed capturing group with the specified subexpression.

Group ( string groupName, RegexNode matchExpression ) : RegexNodeGroup

Generates a named capturing group with the specified subexpression.

Group ( string groupName, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeGroup

Generates a named capturing group with the specified subexpression.

GroupBackReference ( int groupIndex, RegexQuantifier quantifier ) : RegexNodeGroupReference

Generates a backreference to the group with the specified index ("\N").

GroupBackReference ( string groupName ) : RegexNodeGroupReference

Generates a backreference to a named group ("\k<GroupName>").

GroupBackReference ( string groupName, RegexQuantifier quantifier ) : RegexNodeGroupReference

Generates a backreference to a named group ("\k<GroupName>").

Literal ( string value ) : RegexNodeEscapingLiteral

Generates a simple string literal with automatic character escaping.

Literal ( string value, RegexQuantifier quantifier ) : RegexNodeEscapingLiteral

Generates a simple string literal with automatic character escaping.

MetaCharacter ( string characterPattern ) : RegexNodeLiteral

Generates a Regex metacharacter, such as \d, \w or \s. Many metacharacter constants are available in RegexMetaChars class.

MetaCharacter ( string characterPattern, RegexQuantifier quantifier ) : RegexNodeLiteral

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, RegexQuantifier quantifier ) : RegexNodeCharacterRange

Generates a negative character range expression ("[^a-z]") with the specified start/end characters.

NegativeCharacterSet ( char characters, bool useCharacterCodes, RegexQuantifier quantifier ) : RegexNodeCharacterSet

Generates a negative character set expression ("[^abc]") from the specified character array.

NegativeCharacterSet ( string characters, RegexQuantifier quantifier ) : RegexNodeCharacterSet

Generates a negative character set expression ("[^abc]") using a preformatted character string.

NegativeLookAhead ( RegexNode lookupExpression, RegexNode matchExpression ) : RegexNodeLookAround

Generates a zero-width negative lookahead assertion ("match(?!lookahead)").

NegativeLookAhead ( RegexNode lookupExpression, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeLookAround

Generates a zero-width negative lookahead assertion ("match(?!lookahead)").

NegativeLookBehind ( RegexNode lookupExpression, RegexNode matchExpression ) : RegexNodeLookAround

Generates a zero-width negative lookbehind assertion ("(?<!lookbehind)match").

NegativeLookBehind ( RegexNode lookupExpression, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeLookAround

Generates a zero-width negative lookbehind assertion ("(?<!lookbehind)match").

NonCapturingGroup ( RegexNode matchExpression ) : RegexNodeGroup

Generates a non-capturing group with the specified subexpression.

NonCapturingGroup ( RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeGroup

Generates a non-capturing group with the specified subexpression.

NonEscapedLiteral ( string value ) : RegexNodeLiteral

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, RegexQuantifier quantifier ) : RegexNodeLiteral

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 ) : RegexNodeLookAround

Generates a zero-width positive lookahead assertion ("match(?=lookahead)").

PositiveLookAhead ( RegexNode lookupExpression, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeLookAround

Generates a zero-width positive lookahead assertion ("match(?=lookahead)").

PositiveLookBehind ( RegexNode lookupExpression, RegexNode matchExpression ) : RegexNodeLookAround

Generates a zero-width positive lookbehind assertion ("(?<=lookbehind)match").

PositiveLookBehind ( RegexNode lookupExpression, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeLookAround

Generates a zero-width positive lookbehind assertion ("(?<=lookbehind)match").

UnicodeCharacter ( int code ) : RegexNodeLiteral

Generates a Unicode character pattern ("\uNNNN") with the specified character code.

UnicodeCharacter ( int code, RegexQuantifier quantifier ) : RegexNodeLiteral

Generates a Unicode character pattern ("\uNNNN") with the specified character code.

Описание методов

Alternate() публичный статический Метод

Generates an alternation expression with two or more options ("a|b|c|...").
public static Alternate ( RegexNode expressions ) : RegexNodeAlternation
expressions RegexNode Array of option expressions.
Результат RegexNodeAlternation

Alternate() публичный статический Метод

Generates an alternation expression with two options ("a|b").
public static Alternate ( RegexNode expression1, RegexNode expression2 ) : RegexNodeAlternation
expression1 RegexNode First option.
expression2 RegexNode Second option.
Результат RegexNodeAlternation

Alternate() публичный статический Метод

Generates an alternation expression with two options ("a|b").
public static Alternate ( RegexNode expression1, RegexNode expression2, RegexQuantifier quantifier ) : RegexNodeAlternation
expression1 RegexNode First option.
expression2 RegexNode Second option.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeAlternation

Alternate() публичный статический Метод

Generates an alternation expression with two or more options ("a|b|c|...").
public static Alternate ( RegexNode expressions, RegexQuantifier quantifier ) : RegexNodeAlternation
expressions RegexNode Array of option expressions.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeAlternation

AsciiCharacter() публичный статический Метод

Generates an ASCII character pattern ("\xNN") with the specified character code.
public static AsciiCharacter ( byte code ) : RegexNodeLiteral
code byte ASCII character code.
Результат RegexNodeLiteral

AsciiCharacter() публичный статический Метод

Generates an ASCII character pattern ("\xNN") with the specified character code.
public static AsciiCharacter ( byte code, RegexQuantifier quantifier ) : RegexNodeLiteral
code byte ASCII character code.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeLiteral

BacktrackingSuppression() публичный статический Метод

Generates a subexpression with disabled backtracking ("(?>expression)").
public static BacktrackingSuppression ( RegexNode innerExpression ) : RegexNodeBacktrackingSuppression
innerExpression RegexNode Inner expression.
Результат RegexNodeBacktrackingSuppression

BacktrackingSuppression() публичный статический Метод

Generates a subexpression with disabled backtracking ("(?>expression)").
public static BacktrackingSuppression ( RegexNode innerExpression, RegexQuantifier quantifier ) : RegexNodeBacktrackingSuppression
innerExpression RegexNode Inner expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeBacktrackingSuppression

Build() публичный статический Метод

Generates a Regex object from a list of RegexNodes.
public static Build ( ) : Regex
Результат System.Text.RegularExpressions.Regex

Build() публичный статический Метод

Generates a Regex object from a single RegexNode.
public static Build ( RegexNode rootNode ) : Regex
rootNode RegexNode Root node.
Результат System.Text.RegularExpressions.Regex

Build() публичный статический Метод

Generates a Regex object from a list of RegexNode and applies a combination of RegexOptions to it.
public static Build ( RegexOptions regexOptions ) : Regex
regexOptions RegexOptions Combination of RegexOption flags to be applied to the Regex.
Результат System.Text.RegularExpressions.Regex

Build() публичный статический Метод

Generates a Regex object from a single RegexNode and applies a combination of RegexOptions to it.
public static Build ( RegexOptions regexOptions, RegexNode rootNode ) : Regex
regexOptions RegexOptions Combination of RegexOption flags to be applied to the Regex.
rootNode RegexNode Root node.
Результат System.Text.RegularExpressions.Regex

CharacterRange() публичный статический Метод

Generates a character range expression ("[a-z]") with the specified start/end characters.
public static CharacterRange ( char rangeStart, char rangeEnd, bool useCharacterCodes, RegexQuantifier quantifier ) : RegexNodeCharacterRange
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 RegexQuantifier Node quantifier.
Результат RegexNodeCharacterRange

CharacterSet() публичный статический Метод

Generates a character set expression ("[abc]") from the specified character array.
public static CharacterSet ( char characters, bool useCharacterCodes, RegexQuantifier quantifier ) : RegexNodeCharacterSet
characters char An array of allowed characters.
useCharacterCodes bool True - encode every character with "\uNNNN" pattern. False - use every character explicitly.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeCharacterSet

CharacterSet() публичный статический Метод

Generates a character set expression ("[abc]") using a preformatted character string.
public static CharacterSet ( string characters, RegexQuantifier quantifier ) : RegexNodeCharacterSet
characters string Character set description. Special characters will be automatically escaped.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeCharacterSet

Comment() публичный статический Метод

Generates an inline Regex comment ("(?#text)").
public static Comment ( string commentText ) : RegexNodeComment
commentText string Comment text.
Результат RegexNodeComment

Concatenate() публичный статический Метод

Concatenates an array of nodes.
public static Concatenate ( RegexNode expressions ) : RegexNodeConcatenation
expressions RegexNode Nodes to concatenate.
Результат RegexNodeConcatenation

Concatenate() публичный статический Метод

Concatenates two nodes.
public static Concatenate ( RegexNode node1, RegexNode node2 ) : RegexNodeConcatenation
node1 RegexNode First node.
node2 RegexNode Second node.
Результат RegexNodeConcatenation

Concatenate() публичный статический Метод

Concatenates three nodes.
public static Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3 ) : RegexNodeConcatenation
node1 RegexNode First node.
node2 RegexNode Second node.
node3 RegexNode Third node.
Результат RegexNodeConcatenation

Concatenate() публичный статический Метод

Concatenates four nodes.
public static Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexNode node4 ) : RegexNodeConcatenation
node1 RegexNode First node.
node2 RegexNode Second node.
node3 RegexNode Third node.
node4 RegexNode Fourth node.
Результат RegexNodeConcatenation

Concatenate() публичный статический Метод

Concatenates four nodes.
public static Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexNode node4, RegexQuantifier quantifier ) : RegexNodeConcatenation
node1 RegexNode First node.
node2 RegexNode Second node.
node3 RegexNode Third node.
node4 RegexNode Fourth node.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeConcatenation

Concatenate() публичный статический Метод

Concatenates three nodes.
public static Concatenate ( RegexNode node1, RegexNode node2, RegexNode node3, RegexQuantifier quantifier ) : RegexNodeConcatenation
node1 RegexNode First node.
node2 RegexNode Second node.
node3 RegexNode Third node.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeConcatenation

Concatenate() публичный статический Метод

Concatenates two nodes.
public static Concatenate ( RegexNode node1, RegexNode node2, RegexQuantifier quantifier ) : RegexNodeConcatenation
node1 RegexNode First node.
node2 RegexNode Second node.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeConcatenation

Concatenate() публичный статический Метод

Concatenates an array of nodes.
public static Concatenate ( RegexNode expressions, RegexQuantifier quantifier ) : RegexNodeConcatenation
expressions RegexNode Nodes to concatenate.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeConcatenation

ConditionalMatch() публичный статический Метод

Generates a conditional match expression ("(?(condition)|(true)|(false))").
public static ConditionalMatch ( RegexNode conditionExpression, RegexNode trueMatchExpression, RegexNode falseMatchExpression ) : RegexNodeConditionalMatch
conditionExpression RegexNode Condition expression.
trueMatchExpression RegexNode True match expression.
falseMatchExpression RegexNode False match expression.
Результат RegexNodeConditionalMatch

ConditionalMatch() публичный статический Метод

Generates a conditional match expression ("(?(condition)|(true)|(false))").
public static ConditionalMatch ( RegexNode conditionExpression, RegexNode trueMatchExpression, RegexNode falseMatchExpression, RegexQuantifier quantifier ) : RegexNodeConditionalMatch
conditionExpression RegexNode Condition expression.
trueMatchExpression RegexNode True match expression.
falseMatchExpression RegexNode False match expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeConditionalMatch

ConditionalMatch() публичный статический Метод

Generates a conditional match expression which uses a named group for condition evaluation ("(?(GroupName)|(true)|(false))").
public static ConditionalMatch ( string conditionGroupName, RegexNode trueMatchExpression, RegexNode falseMatchExpression ) : RegexNodeConditionalMatch
conditionGroupName string The name of the group to be used as a condition.
trueMatchExpression RegexNode True match expression.
falseMatchExpression RegexNode False match expression.
Результат RegexNodeConditionalMatch

ConditionalMatch() публичный статический Метод

Generates a conditional match expression which uses a named group for condition evaluation ("(?(GroupName)|(true)|(false))").
public static ConditionalMatch ( string conditionGroupName, RegexNode trueMatchExpression, RegexNode falseMatchExpression, RegexQuantifier quantifier ) : RegexNodeConditionalMatch
conditionGroupName string The name of the group to be used as a condition.
trueMatchExpression RegexNode True match expression.
falseMatchExpression RegexNode False match expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeConditionalMatch

Group() публичный статический Метод

Generates an unnamed capturing group with the specified subexpression.
public static Group ( RegexNode matchExpression ) : RegexNodeGroup
matchExpression RegexNode Inner expression.
Результат RegexNodeGroup

Group() публичный статический Метод

Generates an unnamed capturing group with the specified subexpression.
public static Group ( RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeGroup
matchExpression RegexNode Inner expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeGroup

Group() публичный статический Метод

Generates a named capturing group with the specified subexpression.
public static Group ( string groupName, RegexNode matchExpression ) : RegexNodeGroup
groupName string Group name.
matchExpression RegexNode Inner expression.
Результат RegexNodeGroup

Group() публичный статический Метод

Generates a named capturing group with the specified subexpression.
public static Group ( string groupName, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeGroup
groupName string Group name.
matchExpression RegexNode Inner expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeGroup

GroupBackReference() публичный статический Метод

Generates a backreference to the group with the specified index ("\N").
public static GroupBackReference ( int groupIndex, RegexQuantifier quantifier ) : RegexNodeGroupReference
groupIndex int Group ordinal number.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeGroupReference

GroupBackReference() публичный статический Метод

Generates a backreference to a named group ("\k<GroupName>").
public static GroupBackReference ( string groupName ) : RegexNodeGroupReference
groupName string Group name.
Результат RegexNodeGroupReference

GroupBackReference() публичный статический Метод

Generates a backreference to a named group ("\k<GroupName>").
public static GroupBackReference ( string groupName, RegexQuantifier quantifier ) : RegexNodeGroupReference
groupName string Group name.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeGroupReference

Literal() публичный статический Метод

Generates a simple string literal with automatic character escaping.
public static Literal ( string value ) : RegexNodeEscapingLiteral
value string Node text. Special characters will be automatically escaped.
Результат RegexNodeEscapingLiteral

Literal() публичный статический Метод

Generates a simple string literal with automatic character escaping.
public static Literal ( string value, RegexQuantifier quantifier ) : RegexNodeEscapingLiteral
value string Node text. Special characters will be automatically escaped.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeEscapingLiteral

MetaCharacter() публичный статический Метод

Generates a Regex metacharacter, such as \d, \w or \s. Many metacharacter constants are available in RegexMetaChars class.
public static MetaCharacter ( string characterPattern ) : RegexNodeLiteral
characterPattern string Metacharacter pattern.
Результат RegexNodeLiteral

MetaCharacter() публичный статический Метод

Generates a Regex metacharacter, such as \d, \w or \s. Many metacharacter constants are available in RegexMetaChars class.
public static MetaCharacter ( string characterPattern, RegexQuantifier quantifier ) : RegexNodeLiteral
characterPattern string Metacharacter pattern.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeLiteral

NegativeCharacterRange() публичный статический Метод

Generates a negative character range expression ("[^a-z]") with the specified start/end characters.
public static NegativeCharacterRange ( char rangeStart, char rangeEnd, bool useCharacterCodes, RegexQuantifier quantifier ) : RegexNodeCharacterRange
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 RegexQuantifier Node quantifier.
Результат RegexNodeCharacterRange

NegativeCharacterSet() публичный статический Метод

Generates a negative character set expression ("[^abc]") from the specified character array.
public static NegativeCharacterSet ( char characters, bool useCharacterCodes, RegexQuantifier quantifier ) : RegexNodeCharacterSet
characters char An array of allowed characters.
useCharacterCodes bool True - encode every character with "\uNNNN" pattern. False - use every character explicitly.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeCharacterSet

NegativeCharacterSet() публичный статический Метод

Generates a negative character set expression ("[^abc]") using a preformatted character string.
public static NegativeCharacterSet ( string characters, RegexQuantifier quantifier ) : RegexNodeCharacterSet
characters string Character set description. Special characters will be automatically escaped.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeCharacterSet

NegativeLookAhead() публичный статический Метод

Generates a zero-width negative lookahead assertion ("match(?!lookahead)").
public static NegativeLookAhead ( RegexNode lookupExpression, RegexNode matchExpression ) : RegexNodeLookAround
lookupExpression RegexNode Lookahead expression.
matchExpression RegexNode Match expression.
Результат RegexNodeLookAround

NegativeLookAhead() публичный статический Метод

Generates a zero-width negative lookahead assertion ("match(?!lookahead)").
public static NegativeLookAhead ( RegexNode lookupExpression, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeLookAround
lookupExpression RegexNode Lookahead expression.
matchExpression RegexNode Match expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeLookAround

NegativeLookBehind() публичный статический Метод

Generates a zero-width negative lookbehind assertion ("(?<!lookbehind)match").
public static NegativeLookBehind ( RegexNode lookupExpression, RegexNode matchExpression ) : RegexNodeLookAround
lookupExpression RegexNode Lookbehind expression.
matchExpression RegexNode Match expression.
Результат RegexNodeLookAround

NegativeLookBehind() публичный статический Метод

Generates a zero-width negative lookbehind assertion ("(?<!lookbehind)match").
public static NegativeLookBehind ( RegexNode lookupExpression, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeLookAround
lookupExpression RegexNode Lookbehind expression.
matchExpression RegexNode Match expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeLookAround

NonCapturingGroup() публичный статический Метод

Generates a non-capturing group with the specified subexpression.
public static NonCapturingGroup ( RegexNode matchExpression ) : RegexNodeGroup
matchExpression RegexNode Inner expression.
Результат RegexNodeGroup

NonCapturingGroup() публичный статический Метод

Generates a non-capturing group with the specified subexpression.
public static NonCapturingGroup ( RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeGroup
matchExpression RegexNode Inner expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeGroup

NonEscapedLiteral() публичный статический Метод

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.
public static NonEscapedLiteral ( string value ) : RegexNodeLiteral
value string Node text.
Результат RegexNodeLiteral

NonEscapedLiteral() публичный статический Метод

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.
public static NonEscapedLiteral ( string value, RegexQuantifier quantifier ) : RegexNodeLiteral
value string Node text.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeLiteral

PositiveLookAhead() публичный статический Метод

Generates a zero-width positive lookahead assertion ("match(?=lookahead)").
public static PositiveLookAhead ( RegexNode lookupExpression, RegexNode matchExpression ) : RegexNodeLookAround
lookupExpression RegexNode Lookahead expression.
matchExpression RegexNode Match expression.
Результат RegexNodeLookAround

PositiveLookAhead() публичный статический Метод

Generates a zero-width positive lookahead assertion ("match(?=lookahead)").
public static PositiveLookAhead ( RegexNode lookupExpression, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeLookAround
lookupExpression RegexNode Lookahead expression.
matchExpression RegexNode Match expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeLookAround

PositiveLookBehind() публичный статический Метод

Generates a zero-width positive lookbehind assertion ("(?<=lookbehind)match").
public static PositiveLookBehind ( RegexNode lookupExpression, RegexNode matchExpression ) : RegexNodeLookAround
lookupExpression RegexNode Lookbehind expression.
matchExpression RegexNode Match expression.
Результат RegexNodeLookAround

PositiveLookBehind() публичный статический Метод

Generates a zero-width positive lookbehind assertion ("(?<=lookbehind)match").
public static PositiveLookBehind ( RegexNode lookupExpression, RegexNode matchExpression, RegexQuantifier quantifier ) : RegexNodeLookAround
lookupExpression RegexNode Lookbehind expression.
matchExpression RegexNode Match expression.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeLookAround

UnicodeCharacter() публичный статический Метод

Generates a Unicode character pattern ("\uNNNN") with the specified character code.
public static UnicodeCharacter ( int code ) : RegexNodeLiteral
code int Unicode character code.
Результат RegexNodeLiteral

UnicodeCharacter() публичный статический Метод

Generates a Unicode character pattern ("\uNNNN") with the specified character code.
public static UnicodeCharacter ( int code, RegexQuantifier quantifier ) : RegexNodeLiteral
code int Unicode character code.
quantifier RegexQuantifier Node quantifier.
Результат RegexNodeLiteral