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

ruby-changes:30033

From: zzak <ko1@a...>
Date: Sat, 20 Jul 2013 22:34:45 +0900 (JST)
Subject: [ruby-changes:30033] zzak:r42085 (trunk): * doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]

zzak	2013-07-20 22:34:34 +0900 (Sat, 20 Jul 2013)

  New Revision: 42085

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

  Log:
    * doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
      Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365

  Modified files:
    trunk/ChangeLog
    trunk/doc/regexp.rdoc

Index: doc/regexp.rdoc
===================================================================
--- doc/regexp.rdoc	(revision 42084)
+++ doc/regexp.rdoc	(revision 42085)
@@ -611,7 +611,7 @@ The following patterns match instantly a https://github.com/ruby/ruby/blob/trunk/doc/regexp.rdoc#L611
 
     /(b|a)/ =~ s #=> 0
     /(b|a+)/ =~ s #=> 0
-    /(b|a+)*\/ =~ s #=> 0
+    /(b|a+)*/ =~ s #=> 0
 
 However, the following pattern takes appreciably longer:
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42084)
+++ ChangeLog	(revision 42085)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Jul 20 22:33:13 2013  Zachary Scott  <e@z...>
+
+	* doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
+	  Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365
+
 Sat Jul 20 17:46:03 2013  NARUSE, Yui  <naruse@r...>
 
 	* string.c (rb_str_succ): add missing case NEIGHBOR_WRAPPED.

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

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