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

ruby-changes:14548

From: naruse <ko1@a...>
Date: Sun, 24 Jan 2010 00:11:38 +0900 (JST)
Subject: [ruby-changes:14548] Ruby:r26386 (trunk): * lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.

naruse	2010-01-24 00:11:20 +0900 (Sun, 24 Jan 2010)

  New Revision: 26386

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

  Log:
    * lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.
      [ruby-core:20564]

  Modified files:
    trunk/ChangeLog
    trunk/lib/rdoc/markup/to_html_crossref.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26385)
+++ ChangeLog	(revision 26386)
@@ -1,3 +1,8 @@
+Sun Jan 24 00:02:18 2010  NARUSE, Yui  <naruse@r...>
+
+	* lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.
+	  [ruby-core:20564]
+
 Sat Jan 23 23:27:12 2010  NARUSE, Yui  <naruse@r...>
 
 	* dir.c (dir_s_glob): add rdoc by Roger Pack. [ruby-core:27669]
Index: lib/rdoc/markup/to_html_crossref.rb
===================================================================
--- lib/rdoc/markup/to_html_crossref.rb	(revision 26385)
+++ lib/rdoc/markup/to_html_crossref.rb	(revision 26386)
@@ -65,7 +65,7 @@
                       # The key thing is that there must be at least
                       # one special character (period, slash, or
                       # underscore).
-                      | [\/\w]+[_\/\.][\w\/\.]+
+                      | (?:\.\.\/)*[-\/\w]+[_\/\.][-\w\/\.]+
 
                       # Things that have markup suppressed
                       | \\[^\s]

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

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