merge revision(s) 40299:

* string.c (String#gsub): fix typo in documentation

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2013-04-15 14:04:09 +00:00
parent 108d1632e1
commit 8a28816625
2 changed files with 2 additions and 2 deletions

View file

@ -3977,7 +3977,7 @@ rb_str_gsub_bang(int argc, VALUE *argv, VALUE str)
* <code>\\\k<n></code>, where <i>n</i> is a group name. If it is a * <code>\\\k<n></code>, where <i>n</i> is a group name. If it is a
* double-quoted string, both back-references must be preceded by an * double-quoted string, both back-references must be preceded by an
* additional backslash. However, within <i>replacement</i> the special match * additional backslash. However, within <i>replacement</i> the special match
* variables, such as <code>&$</code>, will not refer to the current match. * variables, such as <code>$&</code>, will not refer to the current match.
* *
* If the second argument is a <code>Hash</code>, and the matched text is one * If the second argument is a <code>Hash</code>, and the matched text is one
* of its keys, the corresponding value is the replacement string. * of its keys, the corresponding value is the replacement string.

View file

@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0" #define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2013-04-15" #define RUBY_RELEASE_DATE "2013-04-15"
#define RUBY_PATCHLEVEL 134 #define RUBY_PATCHLEVEL 135
#define RUBY_RELEASE_YEAR 2013 #define RUBY_RELEASE_YEAR 2013
#define RUBY_RELEASE_MONTH 4 #define RUBY_RELEASE_MONTH 4