post_match

mtch.post_match รข str
Instance Public methods

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"
doc_ruby_on_rails
2015-04-18 00:00:33
Comments
Leave a Comment

Please login to continue.