Class Match
A match object which is returned by FST, FSA, or regex matches
Inherited Members
Namespace: Sdl.LanguagePlatform.Core.Tokenization
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class Match
Constructors
Match(int, int)
Initializes a new instance with the specified values.
Declaration
public Match(int index, int length)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The start index in the underlying string |
| int | length | The length of the match |
Properties
Index
Gets or sets the start index in the underlying input string.
Declaration
public int Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Length
Gets or sets the length of the match.
Declaration
public int Length { get; set; }
Property Value
| Type | Description |
|---|---|
| int |