Closed ksss closed 8 years ago
Kernel#=~ method is not absolutely necessary. But, It's compatible with CRuby.
Kernel#=~
$ irb irb(main):001:0> nil =~ /a/ => nil irb(main):002:0> /a/ =~ nil => nil
Kernel#=~ implements to mruby-core is good idea. But, Kernel#=~ doesn't include ISO. And, It used with Regexp in most cases.
So, I propse this patch to mruby-onig-regexp repository.
make sense.
Kernel#=~
method is not absolutely necessary. But, It's compatible with CRuby.Kernel#=~
implements to mruby-core is good idea. But,Kernel#=~
doesn't include ISO. And, It used with Regexp in most cases.So, I propse this patch to mruby-onig-regexp repository.