[前][次][番号順一覧][スレッド一覧]

ruby-changes:15984

From: mame <ko1@a...>
Date: Thu, 20 May 2010 22:52:36 +0900 (JST)
Subject: [ruby-changes:15984] Ruby:r27929 (trunk): * re.c (rb_reg_s_union_m): update rdoc.

mame	2010-05-20 22:52:18 +0900 (Thu, 20 May 2010)

  New Revision: 27929

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27929

  Log:
    * re.c (rb_reg_s_union_m): update rdoc.  [ruby-dev:41354]

  Modified files:
    trunk/ChangeLog
    trunk/re.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27928)
+++ ChangeLog	(revision 27929)
@@ -1,3 +1,7 @@
+Thu May 20 22:49:04 2010  Yusuke Endoh  <mame@t...>
+
+	* re.c (rb_reg_s_union_m): update rdoc.  [ruby-dev:41354]
+
 Thu May 20 22:08:28 2010  Yusuke Endoh  <mame@t...>
 
 	* vm_eval.c (rb_f_caller): update rdoc.  a patch from Nobuhiro IMAI
Index: re.c
===================================================================
--- re.c	(revision 27928)
+++ re.c	(revision 27929)
@@ -3195,6 +3195,7 @@
  *  <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/

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]