[ruby-cvs:64217] nobu:r57051 (trunk): re.c: char boundary

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Dec 12 11:38:53 JST 2016


nobu	2016-12-12 11:38:53 +0900 (Mon, 12 Dec 2016)

  New Revision: 57051

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57051

  Log:
    re.c: char boundary
    
    * re.c (rb_reg_match_m_p): consider char boundary.  rb_str_subpos
      does not adjust to the boundary if len == 0.

  Modified files:
    trunk/re.c
    trunk/test/ruby/test_regexp.rb


More information about the ruby-cvs mailing list