ruby-cvs:22019
From: nobu ruby-lang.org
Date: Sat, 29 Dec 2007 22:44:34 +0900 (JST)
Subject: [ruby-cvs:22019] Ruby:r14782 (trunk): * re.c (rb_reg_regsub): returns the given string itself if nothing
nobu 2007-12-29 22:44:32 +0900 (Sat, 29 Dec 2007)
New Revision: 14782
Modified files:
trunk/ChangeLog
trunk/re.c
trunk/string.c
Log:
* re.c (rb_reg_regsub): returns the given string itself if nothing
changed.
* string.c (rb_str_sub_bang): keeps code-range as possible.
* string.c (str_gsub): adjusts code-range. [ruby-core:14566]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=14782&r2=14781
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14782&r2=14781
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/re.c?r1=14782&r2=14781