Skip to main content

Match Class

NuGet: GHIElectronics.TinyCLR.RegularExpressions
Assembly: GHIElectronics.TinyCLR.RegularExpressions
Namespace: System.Text.RegularExpressions

Represents the results from a single regular expression match.

public class Match : Group

Properties​

Groups​

public virtual GroupCollection Groups { get; }

The collection of groups matched by the regular expression.

Methods​

NextMatch()​

public Match NextMatch()

Returns a new match starting at the position where the previous match ended.

Returns Match

Result(string replacement)​

public virtual string Result(string replacement)

Returns the expansion of the specified replacement pattern for this match.

Returns string

Synchronized(Match inner)​

public static Match Synchronized(Match inner)

Returns a thread-safe wrapper around the specified match.

Returns Match