Свойство | Type | Description | |
---|---|---|---|
RegexReplacement | System.Collections | ||
Replace | string | ||
Replace | string | ||
Replacement | string | ||
ReplacementImpl | void | ||
ReplacementImplRTL | void | ||
Split | string[] |
Méthode | Description | |
---|---|---|
RegexReplacement ( string rep, |
Since RegexReplacement shares the same parser as Regex, the constructor takes a RegexNode which is a concatenation of constant strings and backreferences.
|
|
Replace ( MatchEvaluator evaluator, |
Replaces all occurrences of the regex in the string with the replacement evaluator. Note that the special case of no matches is handled on its own: with no matches, the input string is returned unchanged. The right-to-left case is split out because StringBuilder doesn't handle right-to-left string building directly very well.
|
|
Replace ( |
Replaces all occurrences of the regex in the string with the replacement pattern. Note that the special case of no matches is handled on its own: with no matches, the input string is returned unchanged. The right-to-left case is split out because StringBuilder doesn't handle right-to-left string building directly very well.
|
|
Replacement ( |
Returns the replacement result for a single match
|
|
ReplacementImpl ( StringBuilder sb, |
Given a Match, emits into the StringBuilder the evaluated substitution pattern.
|
|
ReplacementImplRTL ( List |
Given a Match, emits into the List
|
|
Split ( |
Does a split. In the right-to-left case we reorder the array to be forwards.
|