From 268f95bdc653552a16ee4611a4d6dd84fcfb817f Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 20 May 2010 13:52:18 +0000 Subject: * re.c (rb_reg_s_union_m): update rdoc. [ruby-dev:41354] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 1 + 1 file changed, 1 insertion(+) (limited to 're.c') diff --git a/re.c b/re.c index dddd941515..e272146c90 100644 --- a/re.c +++ b/re.c @@ -3195,6 +3195,7 @@ rb_reg_s_union(VALUE self, VALUE args0) * patterns, i.e., will match any of its parts. The patterns * can be Regexp objects, in which case their options will be preserved, or * Strings. If no patterns are given, returns /(?!)/. + * The behavior is unspecified if any given pattern contains capture. * * Regexp.union #=> /(?!)/ * Regexp.union("penzance") #=> /penzance/ -- cgit v1.2.3