diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-20 13:52:18 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-20 13:52:18 +0000 |
commit | 268f95bdc653552a16ee4611a4d6dd84fcfb817f (patch) | |
tree | 26ee1ed79d21cd79ec0068a4c6f0d44c1500f29b /re.c | |
parent | 5c94d2d423381e61169b19b1a53c78139934f41c (diff) |
* 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
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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/ |