From 331fdbe822046382c51eeddbd13ed81f90472402 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 30 Sep 2009 01:08:44 +0000 Subject: [PATCH] * re.c (last_match): add "thread and method" to the scope. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re.c b/re.c index 74eacf1ad8..975bbbe2cf 100644 --- a/re.c +++ b/re.c @@ -3392,7 +3392,7 @@ match_setter(VALUE val) * MatchData object. * n can be a string or symbol to reference a named capture. * - * Note that the last_match is local to the scope + * Note that the last_match is local to the thread and method scope * of the method that did the pattern match. * * /c(.)t/ =~ 'cat' #=> 0