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
-
AnyMatch
Constructors
Properties
Methods
The text between two positions.
method Group(i: i32) -> System.String<u8>
#
Group i (1-based; 0 is the whole match).
Fields
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
Match as Larva HIR, decompiled from its Larva 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
}