class · System.Text

Match

public class System.Text.Match : System.Any

A match: where it is, its text, and its groups (an unmatched group gives the empty text).

Kind
class
Namespace
System.Text
Assembly
System.Core
Access
public, final
Source file
Regex.ant

Inheritance

Base classes
Any Match

Constructors

constructor Match(text: u8[], groupStarts: i32[], groupEnds: i32[], index: i32, end: i32)
#

Properties

property GroupCount: i32
#

read-only

Methods

static method Slice(s: u8[], from: i32, to: i32) -> System.String<u8>
#

static

The text between two positions.

method Group(i: i32) -> System.String<u8>
#

Group i (1-based; 0 is the whole match).

Fields

field Success: bool
#
field Index: i32
#
field Length: i32
#
field Value: System.String<u8>
#

Private and internal members (3)

field s: u8[]
#

private

field starts: i32[]
#

private

field ends: i32[]
#

private

Inherited members (5)

Source

Match as Larva HIR, decompiled from its Larva HIR.

System.Text.Match.hir
// A match: where it is, its text, and its groups (an unmatched group gives the empty text).
public class System.Text.Match : System.Any
{
    field s: u8[]
    field starts: i32[]
    field ends: i32[]
    field Success: bool
    field Index: i32
    field Length: i32
    field Value: System.String<u8>
    // The text between two positions.
    static method Slice(s: u8[], from: i32, to: i32) -> System.String<u8>
    constructor Match(text: u8[], groupStarts: i32[], groupEnds: i32[], index: i32, end: i32)
    // Group `i` (1-based; 0 is the whole match).
    method Group(i: i32) -> System.String<u8>
    property GroupCount: i32
}
Esc