class Group

in global :: System . Text . RegularExpressions

Represents the results from a single capturing group.


public CaptureCollection Captures { get; }

Gets a collection of all the captures matched by the capturing group, in innermost-leftmost-first order (or innermost-rightmost-first order if the regular expression is modified with the option). The collection may have zero or more items.

  • Returns The collection of substrings matched by the group.

public string Name { get; }

Returns the name of the capturing group represented by the current instance.

  • Returns The name of the capturing group represented by the current instance.

public bool Success { get; }

Gets a value indicating whether the match is successful.

  • Returns if the match is successful; otherwise, .

public static Group Synchronized( Group inner )

Returns a object equivalent to the one supplied that is safe to share between multiple threads.

  • inner The input object.
  • Returns A regular expression object.

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.