Class Match
A match object which is returned by FST, FSA, or regex matches
Inheritance
System.Object
Match
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
---|---|---|
System.Int32 | index | The start index in the underlying string |
System.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 |
---|---|
System.Int32 |
Length
Gets or sets the length of the match.
Declaration
public int Length { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |