Project

General

Profile

« Previous | Next » 

Revision a28c12af

Added by nobu (Nobuyoshi Nakada) almost 8 years ago

re.c: fix match?

  • re.c (rb_reg_match_m_p): fix match against empty string.
    rb_str_offset returns the end when the position exceeds the
    length. fix the range parameter of onig_search.
    [ruby-core:75604] [Bug #12394]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e