[Hiki-cvs 1425] [972] * style/default/html_formatter.rb: remove a needless regexp

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 8月 16日 (日) 02:34:36 JST


Revision: 972
          http://sourceforge.jp/projects/hiki/svn/view?view=rev&revision=972
Author:   fdiary
Date:     2009-08-16 02:34:35 +0900 (Sun, 16 Aug 2009)

Log Message:
-----------
	* style/default/html_formatter.rb: remove a needless regexp
	option.

Modified Paths:
--------------
    hiki/trunk/ChangeLog
    hiki/trunk/style/default/html_formatter.rb

Modified: hiki/trunk/ChangeLog
===================================================================
--- hiki/trunk/ChangeLog	2009-08-15 15:19:35 UTC (rev 971)
+++ hiki/trunk/ChangeLog	2009-08-15 17:34:35 UTC (rev 972)
@@ -1,4 +1,7 @@
 2009-08-15  Kazuhiko  <kazuh****@fdiar*****>
+	* style/default/html_formatter.rb: remove a needless regexp
+	option.
+
 	* hiki/docdiff/view.rb (apply_style, apply_style_digest): use
 	Array#join instead of Array#to_s, whose specification is different
 	between Ruby 1.8 and Ruby 1.9.

Modified: hiki/trunk/style/default/html_formatter.rb
===================================================================
--- hiki/trunk/style/default/html_formatter.rb	2009-08-15 15:19:35 UTC (rev 971)
+++ hiki/trunk/style/default/html_formatter.rb	2009-08-15 17:34:35 UTC (rev 972)
@@ -82,7 +82,7 @@
       end
     end
 
-    WIKINAME_RE   = /(\b(?:[A-Z][a-z0-9]+){2,}[A-Z]*\b)/n
+    WIKINAME_RE   = /(\b(?:[A-Z][a-z0-9]+){2,}[A-Z]*\b)/
 
     def replace_wikiname( text )
       replace_inline( text ) do |str|




Hiki-cvs メーリングリストの案内
Back to archive index