diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-13 09:51:05 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-13 09:51:05 +0000 |
commit | 069b730f9673f34af3e4ec17dcb06d0f8401911d (patch) | |
tree | c972fdf6d958d3ed47bbcfaa6ba39b690e74ddb7 | |
parent | 2d4c248d77fc1918536fc59befe67d9bcbb47097 (diff) |
[DOC] Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | proc.c | 2 | ||||
-rw-r--r-- | re.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -3312,7 +3312,7 @@ rb_method_compose_to_right(VALUE self, VALUE g) * * test_return # => 4, return from proc * - * Lambdas are useful as a self-sufficient higher-order functions, behaving + * Lambdas are useful as self-sufficient higher-order functions, behaving * exactly like Ruby methods. Procs are useful for implementing iterators: * * def test @@ -925,7 +925,7 @@ make_regexp(const char *s, long len, rb_encoding *enc, int flags, onig_errmsg_bu * * <code>$1</code>, <code>$2</code> and so on are * <code>Regexp.last_match[i]</code> (captures by number); * * <code>$`</code> is <code>Regexp.last_match.pre_match</code>; - * * <code>$`</code> is <code>Regexp.last_match.post_match</code>; + * * <code>$'</code> is <code>Regexp.last_match.post_match</code>; * * <code>$+</code> is <code>Regexp.last_match[-1]</code> (the last capture). * * See also "Special global variables" section in Regexp documentation. |