post_match()
public
Returns the portion of the original string after the current match. Equivalent to the special variable $‘.
m = /(.)(.)(\d+)(\d)/.match("THX1138: The Movie") m.post_match #=> ": The Movie"
post_match()
public
Returns the portion of the original string after the current match. Equivalent to the special variable $‘.
m = /(.)(.)(\d+)(\d)/.match("THX1138: The Movie") m.post_match #=> ": The Movie"