Contents

Roo

RegexMatch.finish

Returns the zero-based position in the search text of the end of this match.

var r = |love\|hate|
var match = "Sally loves Harry. Batman hates the Joker".match(r).first_match
match.finish # => 10