[ruby-cvs:56845] nobu:r49695 (trunk): string.c: proper exception

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Feb 23 15:26:45 JST 2015


nobu	2015-02-23 15:26:42 +0900 (Mon, 23 Feb 2015)

  New Revision: 49695

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

  Log:
    string.c: proper exception
    
    * string.c (rb_str_split_m): raise ArgumentError at broken string
      not RegexpError, as Regexp is not involved in.
      [ruby-core:68229] [Bug #10886]

  Modified files:
    trunk/ChangeLog
    trunk/string.c
    trunk/test/ruby/test_string.rb


More information about the ruby-cvs mailing list