summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-30 01:08:44 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-30 01:08:44 +0000
commit4634eee316267fc6c37ab425e37470d3d0d6539a (patch)
treeeff9f5109e27a3ee180b18bbe02580c1bd57b343
parent2b0989630119c026cdeafe986fca7740bf8bdd6f (diff)
downloadruby-4634eee316267fc6c37ab425e37470d3d0d6539a.tar.gz
ruby-4634eee316267fc6c37ab425e37470d3d0d6539a.tar.xz
ruby-4634eee316267fc6c37ab425e37470d3d0d6539a.zip
* re.c (last_match): add "thread and method" to the scope.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 74eacf1ad..975bbbe2c 100644
--- a/re.c
+++ b/re.c
@@ -3392,7 +3392,7 @@ match_setter(VALUE val)
* <code>MatchData</code> object.
* <em>n</em> can be a string or symbol to reference a named capture.
*
- * Note that the <code>last_match</code> is local to the scope
+ * Note that the <code>last_match</code> is local to the thread and method scope
* of the method that did the pattern match.
*
* /c(.)t/ =~ 'cat' #=> 0