summaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-09 09:29:52 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-09 09:29:52 +0000
commit6f3790532eb8316f742d2a0ea4a0a8fdda5460c9 (patch)
treeca48f13383a026a57bb50ae9e0e3751154ff0420 /re.c
parent44a778ca937e3146870be2dfc1e9fa7c65eb1a7a (diff)
downloadruby-6f3790532eb8316f742d2a0ea4a0a8fdda5460c9.tar.gz
ruby-6f3790532eb8316f742d2a0ea4a0a8fdda5460c9.tar.xz
ruby-6f3790532eb8316f742d2a0ea4a0a8fdda5460c9.zip
* parse.y (gettable_gen): warns if VCALL name is used as
out-of-scope block local variable. [EXPERIMENTAL] * parse.y (opt_bv_decl): add explicit block local variable declaration. raises error for name conflicts. [EXPERIMENTAL] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 15248d76b..937eac66b 100644
--- a/re.c
+++ b/re.c
@@ -1719,7 +1719,7 @@ rb_reg_match_m(argc, argv, re)
* options are propagated, and new options may not be specified (a change as of
* Ruby 1.8). If <i>options</i> is a <code>Fixnum</code>, it should be one or
* more of the constants <code>Regexp::EXTENDED</code>,
- * <code>Regexp::IGNORECASE</code>, and <code>Regexp::POSIXLINE</code>,
+ * <code>Regexp::IGNORECASE</code>, and <code>Regexp::MULTILINE</code>,
* <em>or</em>-ed together. Otherwise, if <i>options</i> is not
* <code>nil</code>, the regexp will be case insensitive. The <i>lang</i>
* parameter enables multibyte support for the regexp: `n', `N' = none, `e',