Class Match
A match object which is returned by FST, FSA, or regex matches
Inheritance
Object
Match
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.Core.Tokenization
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class Match
Constructors
Match(Int32, Int32)
Initializes a new instance with the specified values.
Declaration
public Match(int index, int length)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The start index in the underlying string |
Int32 | 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 |
---|---|
Int32 |
Length
Gets or sets the length of the match.
Declaration
public int Length { get; set; }
Property Value
Type | Description |
---|---|
Int32 |