diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-14 04:06:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-14 04:06:52 +0000 |
commit | da011c8311088ee53a791e4d31bf6b6c4fa96db5 (patch) | |
tree | 08e2dc9b61d6be2a9bc95dd9d800dceb064d1bdd /re.c | |
parent | b75df4ec9f6cc7295db673769d4a59f0fbd48a61 (diff) | |
download | ruby-da011c8311088ee53a791e4d31bf6b6c4fa96db5.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 * <code>(?xxx:yyy)</code> notation. This string can be fed back in to * <code>Regexp::new</code> to a regular expression with the same semantics as * the original. (However, <code>Regexp#==</code> 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 <code>to_a</code> is called when exanding + * Because <code>to_a</code> is called when expanding * <code>*</code><em>variable</em>, there's a useful assignment * shortcut for extracting matched fields. This is slightly slower than * accessing the fields directly (as an intermediate array is |