From cf9c8f998017f4cdc8cc96ff90862d1e2b166593 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 14 Apr 2004 04:06:52 +0000 Subject: * array.c, enum.c, eval.c, file.c, io.c, numeric.c, object.c, prec.c, process.c, re.c, string.c: typos in RDoc comments. [ruby-core:02783] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 're.c') diff --git a/re.c b/re.c index 5c0bf4d15..acb6c1b29 100644 --- a/re.c +++ b/re.c @@ -410,7 +410,7 @@ rb_reg_inspect(re) * call-seq: * rxp.to_s => str * - * Returns a string containing the regular expression and its options (usng the + * Returns a string containing the regular expression and its options (using the * (?xxx:yyy) notation. This string can be fed back in to * Regexp::new to a regular expression with the same semantics as * the original. (However, Regexp#== may not return true when @@ -1124,7 +1124,7 @@ match_array(match, start) * m = /(.)(.)(\d+)(\d)/.match("THX1138.") * m.to_a #=> ["HX1138", "H", "X", "113", "8"] * - * Because to_a is called when exanding + * Because to_a is called when expanding * *variable, there's a useful assignment * shortcut for extracting matched fields. This is slightly slower than * accessing the fields directly (as an intermediate array is -- cgit