ruby-changes:44388
From: nobu <ko1@a...>
Date: Fri, 21 Oct 2016 11:34:27 +0900 (JST)
Subject: [ruby-changes:44388] nobu:r56460 (trunk): Fixed typo [ci skip]
nobu 2016-10-21 11:34:19 +0900 (Fri, 21 Oct 2016) New Revision: 56460 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56460 Log: Fixed typo [ci skip] * string.c (rb_str_sub, rb_str_gsub): [DOC] 'backlash' should read 'backslash'. [Fix GH-1461] Modified files: trunk/ChangeLog trunk/string.c Index: string.c =================================================================== --- string.c (revision 56459) +++ string.c (revision 56460) @@ -4729,7 +4729,7 @@ rb_str_sub_bang(int argc, VALUE *argv, V https://github.com/ruby/ruby/blob/trunk/string.c#L4729 * Returns a copy of +str+ with the _first_ occurrence of +pattern+ * replaced by the second argument. The +pattern+ is typically a Regexp; if * given as a String, any regular expression metacharacters it contains will - * be interpreted literally, e.g. <code>'\\\d'</code> will match a backlash + * be interpreted literally, e.g. <code>'\\\d'</code> will match a backslash * followed by 'd', instead of a digit. * * If +replacement+ is a String it will be substituted for the matched text. @@ -4931,7 +4931,7 @@ rb_str_gsub_bang(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/string.c#L4931 * <i>pattern</i> substituted for the second argument. The <i>pattern</i> is * typically a <code>Regexp</code>; if given as a <code>String</code>, any * regular expression metacharacters it contains will be interpreted - * literally, e.g. <code>'\\\d'</code> will match a backlash followed by 'd', + * literally, e.g. <code>'\\\d'</code> will match a backslash followed by 'd', * instead of a digit. * * If <i>replacement</i> is a <code>String</code> it will be substituted for Index: ChangeLog =================================================================== --- ChangeLog (revision 56459) +++ ChangeLog (revision 56460) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Oct 21 11:34:17 2016 Pascal Schmid <Lechindianer@u...> + + * string.c (rb_str_sub, rb_str_gsub): [DOC] 'backlash' should read + 'backslash'. [Fix GH-1461] + Thu Oct 20 17:02:56 2016 SHIBATA Hiroshi <hsbt@r...> * lib/uri/common.rb: added documentation for deprecated method. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/