With Ruby 3.0, ```rb require "pathname" Pathname(__FILE__).each_line(chomp: true){ } ``` causes > no implicit conversion of Hash into Integer (TypeError) In case of Ruby 2.7.2, it does not raise but diplay: > ... scivola20 (sciv ola)
Sorry. “a huge amount of String garbage” is my misunderstanding. But I don’t know under what situation this option may cause a bug. scivola20 (sciv ola)
I believe that people who can use `match?` and `match` methods properly, can use this new Regexp option properly. By the way, the total size of ``$` ``, `$&`, `$'` equals to the size of the target string. Therefore a huge amount of St...scivola20 (sciv ola)
I have an idea to solve it without any compatibility problem. [1] Introduce such a Regexp object that `===` method is same as `match?`. [2] Introduce regexp literal option that makes the Regexp object as [1]. If the option is `'f'...scivola20 (sciv ola)