Record: Match

Holds the results of a match against a regular expression. It contains the match boundaries, groups, and group boundaries.

Closed record

Fields

  • matched string
  • Matched substring

  • startIndex int
  • The start index of the match

  • endIndex int
  • The last index of the match

  • groups Groups
  • Information about matched regex groups