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

ruby-changes:42436

From: nobu <ko1@a...>
Date: Thu, 7 Apr 2016 18:07:29 +0900 (JST)
Subject: [ruby-changes:42436] nobu:r54510 (trunk): regexp.rdoc: terminators in comments [ci skip]

nobu	2016-04-07 19:04:05 +0900 (Thu, 07 Apr 2016)

  New Revision: 54510

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54510

  Log:
    regexp.rdoc: terminators in comments [ci skip]
    
    * doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
      comments.  [ruby-core:74838] [Bug #12256]

  Modified files:
    trunk/ChangeLog
    trunk/doc/regexp.rdoc
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54509)
+++ ChangeLog	(revision 54510)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Apr  7 19:04:03 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
+	  comments.  [ruby-core:74838] [Bug #12256]
+
 Thu Apr  7 11:24:14 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/tk/tkutil/tkutil.c (cbsubst_initialize): fix out-of-bound
Index: doc/regexp.rdoc
===================================================================
--- doc/regexp.rdoc	(revision 54509)
+++ doc/regexp.rdoc	(revision 54510)
@@ -580,6 +580,9 @@ Comments can be included in a non-<tt>x< https://github.com/ruby/ruby/blob/trunk/doc/regexp.rdoc#L580
 <tt>(?#</tt><i>comment</i><tt>)</tt> construct, where <i>comment</i> is
 arbitrary text ignored by the regexp engine.
 
+Comments in regexp literals cannot include unescaped terminator
+characters.
+
 == Encoding
 
 Regular expressions are assumed to use the source encoding. This can be

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

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