Project

General

Profile

Feature #21932

Updated by nobu (Nobuyoshi Nakada) 7 months ago

This is suggested by @akr today, `$~.get_int(1)` is equivalent to `$1.to_i` but does not create the intermediate string object. 

 https://github.com/nobu/ruby/tree/match-get_int

Back