[ruby-cvs:62232] nobu:r55069 (trunk): re.c: fix match?
nobu at ruby-lang.org
nobu at ruby-lang.org
Thu May 19 12:10:13 JST 2016
nobu 2016-05-19 12:10:12 +0900 (Thu, 19 May 2016)
New Revision: 55069
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55069
Log:
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]
Modified files:
trunk/ChangeLog
trunk/re.c
trunk/test/ruby/test_regexp.rb
More information about the ruby-cvs
mailing list