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 $'.

1
2
m = /(.)(.)(\d+)(\d)/.match("THX1138: The Movie")
m.post_match   #=> ": The Movie"
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.