frost.core.String

Class Match

    └ Immutable
         └ Object

Represents a regular expression match within a string.

Source Code:
View Source

Field Summary

start:Index
The index of the first character of the match.
end:Index
The index just past the end of the match.
groups:ImmutableArray<String>
The match's group captures.
Inherited Fields:

Fields

def start:Index

The index of the first character of the match.

def end:Index

The index just past the end of the match.

The match's group captures. Group 0 is always the entire match.