mattn / mruby-onig-regexp

mrbgem of 鬼雲's Regular Expression
31 stars 36 forks source link

Support Kernel#=~ #45

Closed ksss closed 8 years ago

ksss commented 8 years ago

Kernel#=~ method is not absolutely necessary. But, It's compatible with CRuby.

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

mattn commented 8 years ago

make sense.