diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-15 14:04:09 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-15 14:04:09 +0000 |
commit | 8a28816625da90d50b587cdee81d19ad0f7847ca (patch) | |
tree | 1f1cde4ebb74e496c1f2bd16eb6a3e1aed536ff1 /string.c | |
parent | 108d1632e1ae83790692293047c3333220c1c9fd (diff) |
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
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 * double-quoted string, both back-references must be preceded by an * 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 * of its keys, the corresponding value is the replacement string. |