Lua API
On this page
Capture
Inherits from
Tip
This is a builtin dotnet type. The documentation and api interface are generated from dotnet source files.
Represents the results from a single successful subexpression capture.
Fields:
Index number
read only
The position in the original string where the first character of the captured substring is found.
Length number
read only
Gets the length of the captured substring.
Value string
read only
Gets the captured substring from the input string.
Methods:
GetPropertyKeys() : string[]
Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts
Returns:string[]
ToString() : string
Retrieves the captured substring from the input string by calling the Capture.Value property.
Returns:string