ruby-changes:48209
From: sonots <ko1@a...>
Date: Sun, 22 Oct 2017 08:35:45 +0900 (JST)
Subject: [ruby-changes:48209] sonots:r60324 (trunk): * string.c: Remove errant "the" in gsub documentation
sonots 2017-10-22 08:35:40 +0900 (Sun, 22 Oct 2017) New Revision: 60324 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60324 Log: * string.c: Remove errant "the" in gsub documentation patched by jlmuir (J. Lewis Muir) [fix GH-1679] Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 60323) +++ string.c (revision 60324) @@ -5179,7 +5179,7 @@ rb_str_gsub_bang(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/string.c#L5179 * str.gsub(pattern) {|match| block } -> new_str * str.gsub(pattern) -> enumerator * - * Returns a copy of <i>str</i> with the <em>all</em> occurrences of + * Returns a copy of <i>str</i> with <em>all</em> occurrences of * <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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/