summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-23 12:18:37 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-23 12:18:37 +0000
commite7ec68a456b57365e32cb519a48287ecd6dcca04 (patch)
treed8227f1f47387f4b98ef75e9be2bd7e290798d48 /re.c
parentcaa4a53f59c690a34dcdd549b33d37d4b09cd3a0 (diff)
merges r27929 from trunk into ruby_1_9_2.
-- * re.c (rb_reg_s_union_m): update rdoc. [ruby-dev:41354] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c1
1 files changed, 1 insertions, 0 deletions
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)
* <em>pattern</em>s, i.e., will match any of its parts. The <em>pattern</em>s
* can be Regexp objects, in which case their options will be preserved, or
* Strings. If no patterns are given, returns <code>/(?!)/</code>.
+ * The behavior is unspecified if any given <em>pattern</em> contains capture.
*
* Regexp.union #=> /(?!)/
* Regexp.union("penzance") #=> /penzance/