From 7b6deb9c4b1fc641838e8822750c46e7807c9ec9 Mon Sep 17 00:00:00 2001 From: zzak Date: Wed, 13 Nov 2013 01:56:27 +0000 Subject: [PATCH] * doc/regexp.rdoc: [DOC] Fix typo in Special global variables section. Reported by Alex Johnson on ruby-doc.org git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ doc/regexp.rdoc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fc7e868fd3..eec4c4174e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 13 10:55:43 2013 Zachary Scott + + * doc/regexp.rdoc: [DOC] Fix typo in Special global variables section. + Reported by Alex Johnson on ruby-doc.org + Wed Nov 13 10:43:19 2013 Zachary Scott * hash.c: [DOC] Adds an example for Hash#store diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc index 26779acb1a..3c13b6683f 100644 --- a/doc/regexp.rdoc +++ b/doc/regexp.rdoc @@ -608,7 +608,7 @@ Example: m = /s(\w{2}).*(c)/.match('haystack') #=> # $~ #=> # - Regexp.latch_match #=> # + Regexp.last_match #=> # $& #=> "stac" # same as m[0]