C# Class Alsing.SourceCode.PatternScanResult

PatternScanResult struct is redurned by the Pattern class when an .IndexIn call has been performed.
Show file Open project: vchelaru/FlatRedBall

Public Properties

Property Type Description
Index int
Token string

Property Details

Index public property

The index on which the pattern was found in the source string
public int Index
return int

Token public property

The string that was found , this is always the same as the pattern StringPattern property if the pattern is a simple pattern. if the pattern is complex this field will contain the string that was found by the scan.
public string Token
return string