class Match

in global :: System . Text . RegularExpressions

Represents the results from a single regular expression match.


public static Match Empty { get; }

Gets the empty group. All failed matches return this empty match.

  • Returns An empty match.

public GroupCollection Groups { get; }

Gets a collection of groups matched by the regular expression.

  • Returns The character groups matched by the pattern.

public string Result( string replacement )

Returns the expansion of the specified replacement pattern.

  • replacement The replacement pattern to use.
  • Returns The expanded version of the parameter.

public static Match Synchronized( Match inner )

Returns a instance equivalent to the one supplied that is suitable to share between multiple threads.

  • inner A regular expression match equivalent to the one expected.
  • Returns A regular expression match that is suitable to share between multiple threads.

public Match NextMatch( )

😔 No documentation found.

public bool Success { get; }

😔 No documentation found.

public string Name { get; }

😔 No documentation found.

public CaptureCollection Captures { get; }

😔 No documentation found.

public int Index { get; }

😔 No documentation found.

public int Length { get; }

😔 No documentation found.

public string Value { get; }

😔 No documentation found.

public ReadOnlySpan<char> ValueSpan { get; }

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.