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).

Tipo
class
Espacio de nombres
System.Text
Ensamblado
System.Core
Acceso
public, final
Archivo fuente
Regex.ant

Herencia

Clases base
Any Match

Constructores

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

Propiedades

property GroupCount: i32
#

read-only

Métodos

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).

Campos

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

Miembros privados e internos (3)

field s: u8[]
#

private

field starts: i32[]
#

private

field ends: i32[]
#

private

Miembros heredados (5)

Código fuente

Match en Larva HIR, descompilado a partir de su 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