mattn / mruby-onig-regexp

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

Support none encoding option #43

Closed ksss closed 8 years ago

ksss commented 8 years ago

I implemented none encoding option. Most of the reasons why I made this PR is I want to compatible with CRuby.

Example

a = /
# comment
\x82
/xn
p a =~ "あ"

Before

mruby-onig-regexp/mrblib/onig_regexp.rb:8: wrong number of arguments (ArgumentError)

After

2
mattn commented 8 years ago

thank you