iij/mruby-regexp-pcre

scan(/.?/) incompatibility with MRI

tsahara opened this issue · 0 comments

% ruby -e 'p "abc".scan(/.?/)'
["a", "b", "c", ""]

% mruby -e 'p "abc".scan(/.?/)'
["a", "b", "c"]