Regex::Match - mfichman/jogo GitHub Wiki

Contains regular expression match and submatch locations. A match object is returend by Regex.search and Regex.match whenever a string matches the regular expression.

@init()

Initializes a new match object.

start?() Int

First character of the matched string.

end?() Int

Last character of the matched string.

group(index Int) Regex::Span

Returns the span of characters matched by subgroup 'index.' The first group (index 0) contains the characters spanned by the entire match.

@index(index Int) Regex::Span

An alias for Match.group.

@destroy()

No comment